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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!