How to get sample time of the model through scrip?

2 vues (au cours des 30 derniers jours)
vinothkannan K
vinothkannan K le 12 Déc 2013
Commenté : vinothkannan K le 13 Déc 2013
Hi.,
How to get sample time of the model through scrip?

Réponse acceptée

Rajiv Ghosh-Roy
Rajiv Ghosh-Roy le 12 Déc 2013
get_param(gcs, 'FixedStep')
This will only work for fixed step solvers. Note that the result returned is a string.

Plus de réponses (1)

Guy Rouleau
Guy Rouleau le 13 Déc 2013

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by