How to plot a graphic on Simscape?

Hello, I am new in Simscape plot and I am trying to simulate Mass-Spring-Damper like the image below.
But when I run the simulation, this error appears
Well, I just set the deformation of spring was 1m and nothing more.
Could you help me?
Cheers

 采纳的回答

Steve Miller
Steve Miller 2017-8-14
The error message is trying to tell you that you need to connect a Solver Configuration block to the Simscape network you have built. Once you have done that, then you will be able to simulate.
There is a tutorial in the Simscape documentation that takes you step-by-step through building a model, including ways to plot results using the Simscape Results Explorer . I really recommend going through it, for it shows you many tips and tricks that will accelerate your work.
Thanks,
--Steve

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Troubleshooting 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by