Hello NXP,
Is it possible to integrate an external s32k code file into the existing mbdt model for code generation? If YES then how can we do that?
Hello @saurabhkulkarni123 ,
It is possible to integrate your own C code or C library into the Simulink model. Please check the following article on our Community: https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/How-to-use-your-own-C-code-in-our-Toolbox-...
Regards,
Marius
Hello @mariuslucianand ,
Is there any other way to integrate code other than this post method?
Hello @saurabhkulkarni123 ,
I could also recommend this post here, but keep in mind that this has been described for an older version of MATLAB: https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-to-put-S32K-MCU-into-sleep-low-powe...
Could you please describe the scenario and what kind of C code would you like to embedd? is it a library or some generic C code?
Regards,
Marius
Some .h and .c file is there which is designed in s32 IDE for ARM, Now I want to integrate these files into MATLAB NXP MBDT model and then generate code for it. so we can use this file access into the model also.