Code generation targets for referenced models

조회 수: 9 (최근 30일)
S. Boopalam
S. Boopalam 2020년 5월 13일
답변: Jonas 2020년 5월 14일
If I have a model A and references model B, do both of them need to have the same code generation target, or can they be different?

채택된 답변

Jonas
Jonas 2020년 5월 14일
Are you thinking about a certain setting in the Configuration Parameters which may be in conflict?
It is certain that both need to have the same System Target file, also the 'Device Vendor' under 'Hardware Implementation' need to be the same. Just to name a few.
I work with reference configuration parameter files inside a shared data dictionary to make sure my top model and reference model have the exact same configuration parameters. This way, I also switch between configuration parameters for for example embedded code generation, real-time prototyping and simulation. Each have their own different configuration parameter set.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by