How do I display simulation results on Figure still in R2013b and later, just like in previous versions of the simplot command? I get simulation results in the Base workspace from Simulink model using "To Workspace block", create Figure with simplot command. When I do this procedures in R2013b or later version, I see the simulation result are displayed on Data Inspector. I would like to know how do I get the same results in R2013b, as before R2013a.
John Williams answered .
2025-11-20
% simplot(simout) alternative command: simout is 1x1 timed structure data f = figure; Whitebg(f) % Figure black-and-white inversion plot(simout.time,simout.signals.values,'y') % Line set to yellow to draw grid on % grid display % Specify grid line specifications set(gca,'GridLineStyle',':',...% Grid line type set to dotted line 'GridColor','w',...% Gridline Color Set to White 'GridAlpha',1) % Transparency set to 1 (
"gridline specifications described in the second half of this article.