Why does Real-Time Workshop 7.6 (R2010b) generate a build folder with a different name than my subsystem when I press the button "Build Subsystem"?

1 visualizzazione (ultimi 30 giorni)
I have a Subsystem with the name Subsystem. When I press the button "Build Subsystem" Real-Time Workshop generates a folder with the name Subsystem0_ert_rtw. I'd expect the name to be Subsystem_ert_rtw.

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 21 Gen 2011
During the code generation process Real-Time Workshop generates a temporary model. If a model exists with the same name there may be naming conflicts. Therefore Real-Time Workshop makes a check for other models with the same name. If one is found it adds an index to the end of the name.
Use the following commands to check if there is a naming conflict with your subsystem name:
exist('Subsystem')
which('Subsystem')

Più risposte (0)

Categorie

Scopri di più su Simulink Coder in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by