Debug on Matlab Simulink

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Debug on Matlab Simulink

1,487 次查看
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 项奖励
回复
2 回复数

1,455 次查看
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.

1,463 次查看
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.