How do I run PIL (Processor-in-the-Loop) with custom target code?

1 次查看(过去 30 天)
The Embedded Link products provide a convenient way to generate a PIL block from a masked subsystem in a model. However, I would like to know how I could incorporate my own custom target code instead of using the generated code.

采纳的回答

MathWorks Support Team
Support for custom code with PIL is via integrating the custom code into Simulink and then running PIL as normal.
Some techniques to integrate the custom code into Simulink are:
- Legacy code tool (LCT)
- Hand written S-function
- S-function Builder
This will enable Embedded Link VS to do all the data I/O with the DSP board
as normal.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Processor-in-the-Loop Simulation 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by