Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

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

1 visualización (últimos 30 días)
shafaq innam
shafaq innam el 24 de Abr. de 2013
i want to read a word document and want to embed a watermark in it.any help?

Respuestas (4)

Jan
Jan el 24 de Abr. de 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.

shafaq innam
shafaq innam el 24 de Abr. de 2013
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 comentario
Jan
Jan el 24 de Abr. de 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
Image Analyst el 24 de Abr. de 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 comentarios
shafaq innam
shafaq innam el 24 de Abr. de 2013
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 el 24 de Abr. de 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
Jan el 24 de Abr. de 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?

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by