how to plot(or view) graphs directly on simulink workspace instead of double clicking scope

20 views (last 30 days)
hello all,
how to add graphs directly to simulink workspace instead of having a scope block? i clipped and fig for better understanding.

Answers (1)

Naman Chaturvedi
Naman Chaturvedi on 4 Sep 2018
You do not need to double click the scope to open the plot. In the scope window, you can select File->Open At Start Of Simulation to open the scope window on its own at start of simulation. Also, you can use To Workspace block to send the variable to workspace and in the File->Model Properties->Model Callbacks of StopFcn, use the plot command to plot the variable from workspace after simulation stops.

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!