Passing Message Data from Workspace Variables does not work in SIL Mode

I am trying to pass message data from a workspace variable. This works in MIL mode but does not work in SIL mode. I am using autosar.tlc as their system target file.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 1 月 4 日

0 投票

To fix this issue, check the signals driven from a Ground block in the test harness. Replacing the Ground block with an Inport with the specified data type as shown below will solve this issue:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Coder についてさらに検索

製品

リリース

R2018b

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by