How to retrieve data from the simscape results explorer.
8 views (last 30 days)
Show older comments
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?
0 Comments
Answers (1)
Sabin
on 24 Dec 2025 at 9:54
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);
0 Comments
See Also
Categories
Find more on Data Logging in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!