How to control/customize the initialize function generation from simulink model?

2 views (last 30 days)
Hello,
I am generating the C codes form the simulink models using the Embedded Coder target. I want to know that, is there any way to control the model_initialize and model_step function generation. I founf that the code mapping Editor useful controlling the names and arguments of the mentioned functions.
Requirement :
Instaed of generating the two individual functions, the single function step/init function with all the code compressed in it.
Please help me with the possible ways of acheiving it.
Thanks in advance.

Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!