How to get sample time of the model through scrip?

1 visualización (últimos 30 días)
vinothkannan K
vinothkannan K el 12 de Dic. de 2013
Comentada: vinothkannan K el 13 de Dic. de 2013
Hi.,
How to get sample time of the model through scrip?

Respuesta aceptada

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

Más respuestas (1)

Guy Rouleau
Guy Rouleau el 13 de Dic. de 2013

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by