I am compiling a program for the MPC5744P. I have a model in Simulink which compiles well, but now I want to generate an S-Function automatically from a subsystem in this model. I run the process, but it always returns an error:
Error: no configuration block for MPC57xx! Please add this block first.
Component:NXP MBD Toolbox | Category:Block error
An installed compiler was not detected. Certain simulation modes, as well as host-based coder builds require that a compiler be installed. Please install one of the supported compilers for this release as listed at:
http://www.mathworks.com/support/compilers/R2018a.html
MATLAB must be restarted after the compiler is installed.
I have a configuration block at the top level of the model, but still gives this problem.
Has anyone had this problem? Any solutions to it?