Plotting customized figures using Simulink

Hi everyone
I have a question about the figures plotting featured on Simulink example: "Effects of Communication Delays on an ABS Control System". Two customized figures (with title, axes information, inserted arrow and text, etc) pop out after the simulation is completed. How can I add this feature to my simulations? These figures are not the scopes.
Thank you

 Accepted Answer

Open the model, click menu File, Model Properties, Model Properties
Click the Callbacks tab, Select "StopFcn*" on the left, you will see some codes on the right.
The plot is generated by calling seExampleCanPlots.
edit seExampleCanPlots.m to see it.

More Answers (0)

Products

Release

R2018b

Community Treasure Hunt

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

Start Hunting!