I need to publish the report of Publish:main without figures

10 ビュー (過去 30 日間)
Ali Ibrahim
Ali Ibrahim 2017 年 7 月 2 日
回答済み: Aastha 2025 年 6 月 19 日
Can someone help me to publish:main without publishing figures? It takes time to get the report after clicking publishing.. and it makes it slow.. Thanks

回答 (1 件)

Aastha
Aastha 2025 年 6 月 19 日
If your goal is to only publish the code without evaluating it (and thus skip generating any figures), you can go to Edit Publishing Settings and set "Evaluate Code" to false. This will publish your script with the code and comments but without running it—great for faster publishing.
However, if you're still evaluating the code and just want to avoid figure windows popping up during publishing (which can slow things down), MATLAB currently does not have a built-in option to suppress figure windows while still including them in the published output (as of R2025a).
As a workaround, you can programmatically control which figures to include and close them after capturing. You’ll find helpful details and a workaround in this article:
Hope this helps!

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by