Is it possible to rename rt_OneStep?

4 views (last 30 days)
Zoltan
Zoltan on 30 May 2016
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)?

Answers (1)

Venkatachala Sarma
Venkatachala Sarma on 3 Jun 2016
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?

Products

Community Treasure Hunt

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

Start Hunting!