Is it possible to rename rt_OneStep?

4 ビュー (過去 30 日間)
Zoltan
Zoltan 2016 年 5 月 30 日
回答済み: Venkatachala Sarma 2016 年 6 月 3 日
I am generating code from two or more models. Every model is generating an rt_OneStep function on its own. I am integrating the generated code in a project set-up in an external IDE. I would like to use the rt_OneStep functions without manual modification of their name. Is it possible to change the name of the automatically generated rt_OneStep function (e. g. to model_rt_OneStep)?

回答 (1 件)

Venkatachala Sarma
Venkatachala Sarma 2016 年 6 月 3 日
rt_OneStep() function is called by the Scheduler Timer which is a part of the Hardware Support Package. Basically it is not model specific. So try to customize the code starting from the step functions and not from rt_OneStep(). If you badly need to use the rt_OneStep() as well, is it possible to share the requirement?

Community Treasure Hunt

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

Start Hunting!

Translated by