'Matlab/Simulink C code generation - Cast macro
How to force Matlab/Simulink to cast event in generated C code?
Name of states are generated this way:
#define in_MyState_macro ((uint8_t)2U)
An event name is generated as:
#define event_MyEvent_macro (1)
I would like to have a casted value for the events too. Could you please help me, where should I set this in Matlab/Simulink? (R2016b)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
