How to get sample time of the model through scrip?

2 次查看(过去 30 天)
Hi.,
How to get sample time of the model through scrip?

采纳的回答

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

更多回答(1 个)

Guy Rouleau
Guy Rouleau 2013-12-13

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by