Initializing values from workspace using embedded coder

I have a Simulink model that is currently using callbacks to enable the initialization of a number of variables and integrator initial states. Eventually this will be converted to C code using the Embedded coder, and I am not sure if using callbacks will pose a problem. After converting the code to C, I will want to change and manipulate these variables in the callbacks, so I am not sure if this will be possible.

More Answers (0)

Categories

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

Products

Release

R2023a

Asked:

on 24 Jul 2023

Commented:

on 26 Jul 2023

Community Treasure Hunt

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

Start Hunting!