Force Simulink to compile in a certain folder

Hi everyone, we use Simulink Real-Time for robotic control tasks. When compiling a project Simulink generates a bunch of files in the "Current Folder" of Matlab. Is there a chance to force Simulink to generate those aditional files in a predefined folder (subfolder of the simulink model)? This would help avoiding chaos in the working folders drasticly.

 Accepted Answer

Open Simulink. In the menu "File / Simulink Preferences" under "General" you find "Code generation folder:"
Here you can choose an other location.

1 Comment

Thank you very much, this is exactly what I was searching!!

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!