Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Problem in file saving when creating word report

2 visualizzazioni (ultimi 30 giorni)
Wilson Bardeskar
Wilson Bardeskar il 7 Apr 2011
Chiuso: MATLAB Answer Bot il 20 Ago 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....

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by