How to get sample time of the model through scrip?

2 visualizzazioni (ultimi 30 giorni)
Hi.,
How to get sample time of the model through scrip?

Risposta accettata

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

Più risposte (1)

Guy Rouleau
Guy Rouleau il 13 Dic 2013

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by