フィルターのクリア

Build failed happen when convert subsystem to model reference

15 ビュー (過去 30 日間)
Bui
Bui 2024 年 4 月 28 日
I have 1 model with top level is a subsystem, i can success build it. But, when i converted that subsystem to a model reference, build failed happen with this information;
Error: Invalid data scope setting 'File' for data object 'ABC' when code is generated for model 'ABC'. The data object is either used in more than one file in the generated code, has no readers or writers, or is a signal that is connected to a root input/output port. Modify the data scope of the data object to either 'Auto' or 'Exported'.

回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by