Force Simulink to compile in a certain folder

1 view (last 30 days)
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

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

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!