How can I customize the function prototype of the “step” routine (modelname_step()) in the generated code in MATLAB R2012b?
When I generated code from my Simulink model the entry point functions in the generated code appear as "modelname_step()" function, with no arguments.
However, I want to change the name of this entry point function to "modelname_run()". I also want the function prototype to include all of the bus structures that I’ve defined into and out of the model.
How can I accomplish this?When I generated code from my Simulink model the entry point functions in the generated code appear as "modelname_step()" function, with no arguments.
However, I want to change the name of this entry point function to "modelname_run()". I also want the function prototype to include all of the bus structures that I’ve defined into and out of the model.
How can I accomplish this? When I generated code from my Simulink model the entry point functions in the generated code appear as "modelname_step()" function, with no arguments.
However, I want to change the name of this entry point function to "modelname_run()". I also want the function prototype to include all of the bus structures that I’ve defined into and out of the model.
How can I accomplish this? MATLAB Answers — New Questions