Debug on Matlab Simulink

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debug on Matlab Simulink

544 Views
viktor1
Contributor I

Hello all

I use a S32K144 and can flash the example codes via embedded coder. Is it also possible to debug step by step in Matlab Simulink? If so how does that work?

Thank you

Viktor

0 Kudos
2 Replies

512 Views
gzleng
Contributor II

simulink external mode may support step by step debug. but the most direct way is to export to s32 and create a project to dive in.

520 Views
stefancinipeanu
NXP Employee
NXP Employee

Hello, @viktor1 

Sorry for our late answer.

Unfortunately, debugging code from MATLAB or Simulink that runs directly on an embedded NXP target is not possible. For debugging the generated code, you could use the S32 Design Studio for ARM, by taking the generated elf file from Simulink and selecting it in a S32DS debugging project.

Regards,

Stefan.