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

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!