Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Problem in file saving when creating word report

1 Ansicht (letzte 30 Tage)
Wilson Bardeskar
Wilson Bardeskar am 7 Apr. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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....

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by