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
2009-6-27
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!