Hello everybody,
Is it possible to use MATLAB code and call it for its use in MBD toolbox for a S32K14x board? Where can I find a guide for how to do this?
Thanks in advance.
Juliana
Hello constantinrazvan.chivu,
Perfect! I will give it a try. Thanks for your help!
Kind regards,
Juliana
Hello juliana.rojas3062@ctag.com ,
You can find an example here How to use your own C code in our Toolbox (Battery Management System example) .
To get inspiration of what code you need to add for the FCAN, you can use the fcan_s32k_send.tlc file (assuming you are using an S32K1xx board) - here you can see what code does the FCAN_SEND block generate. You can find that file in the following location:
{TOOLBOX_ROOT}\mbdtbx_s32k\blocks\lpspi
Kind regards,
Razvan.