Simulink: return values of simulation
이전 댓글 표시
Hi,
My question is how I can take out (to Matlab) values from simulink simulations at specific time step?
In my example I have simple spring model. The scheme is below:

After I run the simulation with specific parameters, I get the following result.

How can I get value of position y=0.2 at time step = 80 from simulink to matlab?
Basically, I need to get final simulation results, after system equilibrates.
Thank you
채택된 답변
추가 답변 (1개)
ChristianW
2013년 3월 1일
0 개 추천
Check out the Sinks-Library. There are Display-, To Workspace- and To File Blocks.
댓글 수: 2
Andreas Goser
2013년 3월 1일
In addtion there is the out block and you can set the scope accordingly.
Timur
2013년 3월 4일
카테고리
도움말 센터 및 File Exchange에서 Configure and View Diagnostics에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!