Issue Building Model
Sometimes code fragments from previous builds prevent MATLAB/Simulink from building the model. In this case, the build directories need to be deleted.
To delete old build directories on every new build, go in Simulink to Model Config Parameters. Under CANape code generation options, please select the following option:
Please complete all required fields. Fields marked with * are required.