How to plot a graphic on Simscape?

15 views (last 30 days)
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

Accepted Answer

Steve Miller
Steve Miller on 14 Aug 2017
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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!