在使用SDI,打印到​Matlab图窗时,​出现以下错误

函数或变量 'appName' 无法识别。
出错 Simulink.sdi.internal.controllers.ExportDialog/cb_ExportPlotToFigure
出错 Simulink.sdi.internal.controllers.ExportDialog>@(arg)cb_ExportPlotToFigure(this,arg)
出错 Simulink.sdi.internal.controllers.Dispatcher/cb_OnNewMessage
出错 Simulink.sdi.internal.controllers.Dispatcher>@(arg)cb_OnNewMessage(this,arg)
出错 Simulink.sdi.internal.controllers.SDIDispatcher/handleNewMsg
出错 Simulink.sdi.internal.controllers.SDIDispatcher.onNewMessage
我使用的版本为matlab2022b

回答 (1 件)

Esther
Esther 2025 年 5 月 15 日

0 投票

@Zheng de 您好,
请升级至MATLAB R2022b Update 6 以上获取修复: 更新现有安装 - MATLAB & Simulink

カテゴリ

製品

リリース

R2022b

質問済み:

2025 年 5 月 14 日

回答済み:

2025 年 5 月 15 日

Community Treasure Hunt

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

Start Hunting!