Autocode step function naming
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Wayne Munslow
el 11 de Abr. de 2022
Comentada: Wayne Munslow
el 27 de Abr. de 2022
We have a model ProjName.slx (a main model with reference models embedded). The reference models run at different rates (2ms, 10ms, 100ms, 1000ms). The autocode produces step functions ProjName_step0, ProjName_step1, ProjName_step2, ProjName_step3. Is there any control over this naming? Where is it set
0 comentarios
Respuesta aceptada
Mark McBroom
el 25 de Abr. de 2022
Use the code mappings capability of Embedded Coder to control the names of the step functions. See the end of this web page:
4 comentarios
Mark McBroom
el 25 de Abr. de 2022
Hi Wayne,
The documentation for this option lists the dependent configuration settings:
- The button appears only for ERT-based targets with Code interface packaging set to a value other than C++ class.
- This button requires an Embedded Coder� license when generating code.
- This button is active only if your model uses an attached configuration set. If your model uses a referenced configuration set, the button is greyed out. If you want to configure a model-specific step function prototype for a referenced configuration set, use the MATLAB� function prototype control functions described in the help section "Configure Function Prototypes Programmatically"
Más respuestas (0)
Ver también
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!