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

Answers (1)

Esther
Esther on 15 May 2025

0 votes

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

Products

Release

R2022b

Asked:

on 14 May 2025

Answered:

on 15 May 2025

Community Treasure Hunt

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

Start Hunting!