How to get sample time of the model through scrip?

2 Ansichten (letzte 30 Tage)
vinothkannan K
vinothkannan K am 12 Dez. 2013
Kommentiert: vinothkannan K am 13 Dez. 2013
Hi.,
How to get sample time of the model through scrip?

Akzeptierte Antwort

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

Weitere Antworten (1)

Guy Rouleau
Guy Rouleau am 13 Dez. 2013

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by