Code Generation error for data type inside Stateflow Chart
Mostrar comentarios más antiguos
Why do not the options specified in the Custom Code pane of the Simulation target allow my model to compile in Simulink?
I am calling a custom C function from a Stateflow chart. I am specifying the source file in the custom code section of the Simulation target. The model does not compile. I have the following C function declaration in the Source file pane.
real_T SquareMe(real_T xs);
However, if the same options are specified in the Custom Code pane of the Simulink Coder, it generates correct code. I am wondering why do the same options not work for Simulation target.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Manual Performance Optimization en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!