How to retrieve data from the simscape results explorer.

6 vues (au cours des 30 derniers jours)
Brindha Chelliah
Brindha Chelliah le 28 Fév 2018
Réponse apportée : Sabin le 24 Déc 2025 à 9:54
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?

Réponses (1)

Sabin
Sabin le 24 Déc 2025 à 9:54
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);

Catégories

En savoir plus sur Data Logging dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by