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.

 Respuesta aceptada

Piyush Kumar
Piyush Kumar el 29 de Jul. de 2024

0 votos

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 comentarios

wenchao zhang
wenchao zhang el 29 de Jul. de 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 el 29 de Jul. de 2024
Restart computer, the code will generated to the current folder, not sure what's happened before.
wenchao zhang
wenchao zhang el 29 de Jul. de 2024
thanks for your responds ,@Piyush Kumar.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Versión

R2018b

Preguntada:

el 29 de Jul. de 2024

Comentada:

el 29 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by