How to get sample time of the model through scrip?

 采纳的回答

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

类别

帮助中心File Exchange 中查找有关 Create Large-Scale Model Components 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by