How to retrieve data from the simscape results explorer.
古いコメントを表示
Hi, I need data from the state models that is reflected in simscape results explorer. I am having the node id. How will I retrieve the data?
回答 (1 件)
Sabin
2025 年 12 月 24 日
0 投票
This page should answer the question: https://www.mathworks.com/help/simscape/ref/simscape.logging.series.html
For example, a model has data logging enabled for the whole model, with the Workspace variable name parameter set to simlog_MassSpringDamperWithController. Plot velocity of port R of the Translational Spring block Spring:
plot(simlog_MassSpringDamperWithController.Spring.R.v.series);
カテゴリ
ヘルプ センター および File Exchange で Simscape についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!