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

22 次查看(过去 30 天)
hello all,
how to add graphs directly to simulink workspace instead of having a scope block? i clipped and fig for better understanding.

回答(1 个)

Naman Chaturvedi
Naman Chaturvedi 2018-9-4
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.

标签

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by