Hi, i have encoutered this issue when i try to change the value inside the blocks, for exaple Dio blocks:
if i change the channel to flip (for example from the default green to red) and build, after the application is flashed, the green led still blinks instead of the red one.
Also in Can blocks, if i change the CanController Mode in the block it doesn't change from the default value.
Only if i modify the model then the changes inside the blocks became effective: for example by adding a block, commenting others...
I don't know why this behavior, could someone tell me how to fix this?
I'm using the S32K358EVB-Q289.
Thanks
Simon
Hello @simon98 ,
I can confirm that the behavior you are describing is indeed present in the current Model-Based Design Toolbox version. This is on our list of future improvements and we hope to be able to improve this specific process in the next versions.
For now, the best course of action in your specific use case would be to delete the "modelName_ert_rtw" folder and the "modelName.slxc" file before building the model. Doing so will trigger the code generation and update the executable based on the changes you have made inside the Model-Based Design blocks.
Regards,
Robert V