Hi,
I think I found a bug regarding the MBDT for S32k14x series.
I was working on BLDC control and added the BEMF observer block from the AMMC library.
However, I was using my own clarke transform block which was not from the MBDT.
In this combination, the compiler complains that gmclib.h and the bus definition needed for the input of the BEMF observer block are not found. Apparently the BEMF observer block includes gmclib.h but during code gen does not also have it copied to the code generation folder. This can be easily verified by opening one of the example models for the BEMF observer block and commenting out the clarke transform blocks.
As a workaround I included the clarke transform block from the MBDT in a disabled subsystem and then everything works.
I am running the model in simulink 2021b on windows 10 and use the MinGW64 compiler.