How to find if the Simulink model is used for code generation
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Is there a heuristic or certain block parameter configuration that suggests if a Simulink model is used or configured
for code generation?
0 Commenti
Risposta accettata
Jonas
il 13 Ott 2021
System Target File will be 'ert.tlc' if the model is configured for code generation.
strcmp('ert.tlc',get_param('mymodel','SystemTargetFile'))
0 Commenti
Più risposte (1)
Pranav Verma
il 20 Mag 2021
Hi Sohil,
To check if the model will generate a code, you can go to "Generate Code from the Model" section in the documentation.
Thanks
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!