MATLAB Answers

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

8 views (last 30 days)
Avinash Tallapaneni
Avinash Tallapaneni on 1 Sep 2018
Answered: Naman Chaturvedi on 4 Sep 2018
hello all,
how to add graphs directly to simulink workspace instead of having a scope block? i clipped and fig for better understanding.


Sign in to comment.

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.


Sign in to comment.




Community Treasure Hunt

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

Start Hunting!

Translated by