Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: publish command fails with "??? Error using ==> saveas at 72 Invalid Simulink object specifier"
Posted:
Jul 19, 2012 12:54 AM
|
|
Tried the following Workaround from Bug Reports with no success:
http://www.mathworks.com/support/bugreports/659693
Workaround
Edit the following file, where MATLABROOT is the folder returned when you type matlabroot in the MATLAB Command Window:
MATLABROOT/toolbox/matlab/codetools/private/mxdom2word.m Search for these lines, try doc.SaveAs(outputPath,wdFormatDocument); catch anError and replace them with these lines: try try % This will work on Word 2010. doc.SaveAs2(outputPath,wdFormatDocument); catch %#ok<CTCH> doc.SaveAs(outputPath,wdFormatDocument); end catch anError
|
|
|
|