在使用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!