Simulink SDI interface err(snapshot to matlab figure)

3 views (last 30 days)
Hi,
I am in trouble with SDI interface: I got the following err when I snapshot to Matlab figure.
Unrecognized function or variable 'appName'.
Error in Simulink.sdi.internal.controllers.ExportDialog/cb_ExportPlotToFigure
Error in Simulink.sdi.internal.controllers.ExportDialog>@(arg)cb_ExportPlotToFigure(this,arg)
Error in Simulink.sdi.internal.controllers.Dispatcher/cb_OnNewMessage
Error in Simulink.sdi.internal.controllers.Dispatcher>@(arg)cb_OnNewMessage(this,arg)
Error in Simulink.sdi.internal.controllers.SDIDispatcher/handleNewMsg
Error in Simulink.sdi.internal.controllers.SDIDispatcher.onNewMessage
I restarted again Matlab and launched directly the SDI interface. I tried to load some runs which I previously saved but I am still getting this error.
I am working with Matlab R2022b.
Thanks for your help,
Zhengde Deng

Answers (1)

Hitesh
Hitesh on 14 May 2025
I too encountered the similar issue with Simulink SDI interface. The workaround that worked for me was to update the MATLAB R2022b with latest update.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!