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

Réponses (1)

Esther
Esther le 15 Mai 2025

0 votes

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

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Version

R2022b

Community Treasure Hunt

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

Start Hunting!