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

Respuestas (1)

Esther
Esther el 15 de Mayo de 2025

0 votos

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

Productos

Versión

R2022b

Etiquetas

Preguntada:

el 14 de Mayo de 2025

Respondida:

el 15 de Mayo de 2025

Community Treasure Hunt

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

Start Hunting!