Info
This question is closed. Reopen it to edit or answer.
Problem in file saving when creating word report
1 view (last 30 days)
Show older comments
I am trying to create a word(doc) report with many autogenerated figures and text using report generator.
I have specified a filename (somename) in the setup file for the generated word report. At the end of the processing, the report generator creates a file somename.doc at the set path along with a filesave dialogbox asking to save. If I click on save it does not allow to save to the somename.doc just created. seems like the file is locked or readonly .I have to save as another file, say 'newname.doc'.
so each time I get two doc files in the path, somename.doc and newname.doc.
the file somename.doc will not contain any figures in it, but only the autogenerated text, where as the file newname.doc has all figures and text. Although I get the desired output in newname.doc, I do not want two files to be created, only somename.doc with all contents correct.
This does not happen with rtf report but only word-doc report. Has anybody encountered the same problem. Please help....
0 Comments
Answers (0)
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!