Test custom source code with PIL simulation on S32K144 (NXP processor)

28 次查看(过去 30 天)
I already have mi own code in C language and I want to test it on Simulink, but most of the examples I get in NXP community are using the Model based design tool. Such tool works for the generation of C code and testing it via MBDT. In my case I want to test my C code project using the PIL simulation.
Does any one know how to run PIL simulation including my C code in Simulink?
  1 个评论
Raghava S N
Raghava S N 2025-4-4
PIL and SIL are simulation workflows of Simulink for code validation and verification. These cannot be decoupled from Simulink. However, to include your custom code, you can create S-function blocks and include these blocks in a Simulink model and then run SIL/PIL simulations to test your code. For more information about S-functions, refer to the links below-
Hope that helps!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Verification, Validation, and Test 的更多信息

产品


版本

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by