Error received while attempting to publish script

Received the following red text error message in the Command Window after hitting Publish to PDF for my script:
"Caught "std::exception" Exception message is:
Loading remote resource not allowed. Remote resource: http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
The script runs fine on its own, no errors are produced from running the script. The error only comes after trying to publish it.

 採用された回答

Gyan Vaibhav
Gyan Vaibhav 2024 年 4 月 18 日

1 投票

Hi Victor,
Look at the following answer, which came from Mathworks Tech Support:
Hope this resolves your issue.
Thanks

3 件のコメント

Victor
Victor 2024 年 4 月 18 日
Thanks, Gyan; much appreciated. It was able to save the script as a PDF, unfortunately not the figures, but not the end of the world. Thanks again.
Gyan Vaibhav
Gyan Vaibhav 2024 年 4 月 19 日
Hi Victor,
Glad to be of help.
You can try looking into the following documentation: https://www.mathworks.com/help/rptgen/ug/mlreportgen.report.figure-class.html
This might help with the figures.
Thanks
Gyan
Victor
Victor 2024 年 5 月 8 日
Gyan, found another work-around as this issue persists--I am able to publish it as HTML effectively vice PDF, and then save that HTML file as a PDF. It publishes the code and figures slightly different than I am used to, but still a good presentation of the information.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

製品

リリース

R2024a

タグ

質問済み:

2024 年 4 月 17 日

コメント済み:

2024 年 5 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by