How to get sample time of the model through scrip?

 Réponse acceptée

get_param(gcs, 'FixedStep')
This will only work for fixed step solvers. Note that the result returned is a string.

Catégories

En savoir plus sur Create Large-Scale Model Components dans Centre d'aide 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