Info
This question is closed. Reopen it to edit or answer.
how can i read a word document in matlab? plz help its urgent
1 view (last 30 days)
Show older comments
i want to read a word document and want to embed a watermark in it.any help?
1 Comment
Answers (4)
Jan
on 24 Apr 2013
Please be specific: What does "reading" a word document exactly mean? Do you want to read it with your eyes or import it? And in the latter case, as binary stream or as text? If you are talking about a text, how could the embedding of a watermark be possible without changing it substantially?
Currently a meaningful answer is not possible, because the question is unclear and the part, which I can understand, is not possible to be solved. While the term "urgent" is counterproductive, an exact description of the problem would be useful.
0 Comments
shafaq innam
on 24 Apr 2013
1 Comment
Jan
on 24 Apr 2013
Please do not post comments as answers.
When you are sorry about the "urgent", I suggest to simply delete this term. The power to edit the text is such useful. ;-)
Image Analyst
on 24 Apr 2013
I'd use ActiveX programming. Search the forum for ActiveX. I know I've posted demos for Excel and I think others may have posted code for Powerpoint or Word.
2 Comments
Image Analyst
on 24 Apr 2013
Jan found it for you. See his answer. Though if your data can be a simple text file, your task is vastly simplified, like he said.
Jan
on 24 Apr 2013
There is a massive difference between Word and Notepad files. While the first one requires an ActiveX method like http://www.mathworks.com/matlabcentral/fileexchange/28558-control-ms-word-from-matlab or http://www.mathworks.com/matlabcentral/fileexchange/2668-save-word-as-text, the latter can be imported easily by fileread().
Again I ask you to be as specific as possible. Which kind of files do you want to process and what kind of watermarking do you want? Would a simple HMAC be sufficient already?
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!