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

1 回表示 (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2009 年 6 月 27 日
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
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 件)

カテゴリ

Help Center および File ExchangeProcessor-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