Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how can i read a word document in matlab? plz help its urgent

조회 수: 1 (최근 30일)
shafaq innam
shafaq innam 2013년 4월 24일
i want to read a word document and want to embed a watermark in it.any help?

답변 (4개)

Jan
Jan 2013년 4월 24일
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.

shafaq innam
shafaq innam 2013년 4월 24일
i am sorry about that urgent i am doing a project on copyright protection of plain text using watermarking and i am using mat lab for it.now i want to make an algorithm which reads a text file and embed an image in to it as a watermark.
  댓글 수: 1
Jan
Jan 2013년 4월 24일
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
Image Analyst 2013년 4월 24일
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
shafaq innam
shafaq innam 2013년 4월 24일
i did not find anything related to my work. The file can be a notepad file i do not know how to open a notepad file and then reading data from it.
Image Analyst
Image Analyst 2013년 4월 24일
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
Jan 2013년 4월 24일
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?

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by