Library subsystem cannot generate code that can be reused across models

21 ビュー (過去 30 日間)
Loubna Ibnou Fairouze
Loubna Ibnou Fairouze 2020 年 6 月 29 日
Hello,
I am trying to generate reusable code using a library subsytem block. I have a model A that contains two other referenced models B and C. Each one of them (B and C) contains identical variant subsystems that contains several librart subsystems I followed the steps indicated here https://www.mathworks.com/help/ecoder/ug/library-based-code-generation-for-subsystems-shared-across-models.html, to configure the library subsystem. Yet I am getting this error cannot generate code that can be reused across models. As a result, it cannot reuse library code.
Caused by:
  • Subsystem input port has symbolic dimensions or unsupported type.
What am I doing wrong?

回答 (0 件)

カテゴリ

Help Center および File ExchangeSchedule Model Components についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by