I have seen that the MBDT is used to generate C code based on Simulink modules to reduce prototyping engineering process. In my case I want to test my own C code project in PIL (Processor-In-the-Loop) simulation within Simulink. I want to visualize some outputs with the Scope feature in Simulink.
I am using a S32K144EVB and the MATLAB R2017a.
Does anyone know how can I set up the environment of PIL simulation and where to include my C code project in the process?
Thank you in advance.