Hello,
When I change the channel number from a block (DIO or PWM) and then generate and build a project, for the second time, the code doesn't update so the channel is the same as the first time I build the project.
This happens in my own project as well as in the example projects.
What should I change to get the code updated?
I'm using:
-MATLAB 2021a
-MBDT S32K3 V1.2
-EB Tresos 28.2.0
-S32K344EVB-Q257
已解决! 转到解答。
Hi @RobSpanjers ,
If the generated code does not get updated, I suggest you erase the artifacts from a previous build before regenerating the code with the new selections. Try deleting the modelName_ert_rtw and slprj folders, created next to the model, as well as the Simulink cache modelName.slxc and rebuild your application.
Irina
Hi @RobSpanjers ,
If the generated code does not get updated, I suggest you erase the artifacts from a previous build before regenerating the code with the new selections. Try deleting the modelName_ert_rtw and slprj folders, created next to the model, as well as the Simulink cache modelName.slxc and rebuild your application.
Irina