Simulink SDI Snapshot Command Missing Data
Show older comments
So the title kind of says it all. I am trying to run a simulink model and take snapshot of the SDI via the API (see command below). I am trying to plot ~15 signals spread across 9 subplots and cannot share the actual dataset
Simulink.sdi.snapshot('from','opened','to','file','filename','testFig.png')
Every time I run it, the 'testFig.png' is different with a different set of signals names show with or without the associated data series.
Does anyone know how long I should pause the program between the final plotting command and the saving command?
1 Comment
Richard Hopple
on 19 Mar 2025
Edited: Richard Hopple
on 19 Mar 2025
For reason unknown to me, the accepted answer actually doesn't answer the question and for reasons unknown to me, I cannot actually edit my original post...
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!