How can I avoid publishing my code into the HTML file in MATLAB 7.0 (R14)?
1 view (last 30 days)
Show older comments
I am trying to publish the results of my code in a HTML file using the PUBLISH function. I set the "showCode" option to "false", but I still see my code in the HTML file:
opts.showCode='false'
publish('foo',opts)
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This change has been incorporated into the documentation in Release 14 Service Pack 3 (R14SP3). For previous releases, read below for any additional information:
The "showCode" option for PUBLISH requires a logical variable, either true/false or 1/0, and not a string. For example,
opts.showCode = false
publish('foo',opts)
0 Comments
More Answers (0)
See Also
Categories
Find more on MATLAB Report Generator in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!