How to get sample time of the model through scrip?
2 views (last 30 days)
Show older comments
vinothkannan K
on 12 Dec 2013
Commented: vinothkannan K
on 13 Dec 2013
Hi.,
How to get sample time of the model through scrip?
0 Comments
Accepted Answer
Rajiv Ghosh-Roy
on 12 Dec 2013
get_param(gcs, 'FixedStep')
This will only work for fixed step solvers. Note that the result returned is a string.
More Answers (1)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!