How to plot a graphic on Simscape?
8 ビュー (過去 30 日間)
古いコメントを表示
Hello, I am new in Simscape plot and I am trying to simulate Mass-Spring-Damper like the image below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166686/image.png)
But when I run the simulation, this error appears
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/166687/image.png)
Well, I just set the deformation of spring was 1m and nothing more.
Could you help me?
Cheers
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Troubleshooting についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!