MATLAB: Do I obtain an error message “Could not create Word ActiveX” when I try to generate a report in Word format using MATLAB Report Generator in MATLAB 7.5 (R2007b)

MATLAB Report Generator

I obtain an error message "Could not create Word ActiveX" when I try to generate a report in Word format using MATLAB Report Generator in MATLAB 7.5 (R2007b). This happens even when I try to create a simple report with graphics and I do not have a local installation of MS Word on my computer. I use MS Word from the network.

Best Answer

Report Generator requires a local installation of MS Word to convert from RTF to DOC files. The RTF file is an intermediate step of the document generation, and the conversion to MS Word format (DOC) is done by Word.
If a local installation of Word is not available, generate the report in RTF format and then use your network version of MS Word to convert it to DOC. These are the steps that you need to follow to complete this process:
1. Generate the report in RTF format without launching the viewer by un-checking "View report after generation" in Report Generator.
2. Open the RTF in MS Word from a Windows Explorer session outside of MATLAB.
3. In MS Word enter: Ctrl-A to select the whole document
4. Press F9 to import the graphics
5. Use Save-As to save the document in DOC format