how to generate code to specific folder

as following fig shows, i want generate code to target folder(already set this folder to path), but it failed, it seems always keep old code store path, how to resolve it.

 Réponse acceptée

Piyush Kumar
Piyush Kumar le 29 Juil 2024

0 votes

To generate code to a specific folder, you can change "Code generation folder" in "Simulink Preferences".
You can go through this blog for more details.
Let me know if it helps.

3 commentaires

wenchao zhang
wenchao zhang le 29 Juil 2024
hello, i just want the code generated to the folder that its model located,i have sevral model need generated,they are in different folders.
wenchao zhang
wenchao zhang le 29 Juil 2024
Restart computer, the code will generated to the current folder, not sure what's happened before.
wenchao zhang
wenchao zhang le 29 Juil 2024
thanks for your responds ,@Piyush Kumar.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Centre d'aide et File Exchange

Produits

Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by