What does "-tf inf" stand for in the command system('rt​wdemo_seco​ndOrderSys​tem -tf inf &')

2 views (last 30 days)
I have just completed the tutorials on Simulink Coder,
I would like to know what are the parameters -tf inf doing . Does anyone know?
Thanks

Accepted Answer

Uday Pradhan
Uday Pradhan on 15 Oct 2020
Hi Sylvain,
The -tf switch is used to override the stop time that was set during code generation, for example:
model -tf n
The program will then run for n seconds. If n = inf, the program will run indefinitely.
You will find more information in this documentation link.
Hope this helps!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!