Avoid slprj folder and slxc files
22 views (last 30 days)
Show older comments
Is it possible to force that "not interesting for the user" files away from the main folder where my script and simulink files are?
I would like that file to be someway in a temporary harddisk location I can clean once a year, for example.
0 Comments
Accepted Answer
Paul
on 11 Sep 2022
Possibly can be done via Simulink preferences. Try this doc page, particularly the section on "Folders for Generated Files."
2 Comments
More Answers (1)
Image Analyst
on 11 Sep 2022
Yes, just define that folder like
tempFolder = 'C:\User\Public\Documents\Temporary Simulink Files';
fullFileName1 = fullfile(tempFolder, 'Temp File1.txt');
fullFileName2 = fullfile(tempFolder, 'Temp File2.dat');
fullFileName3 = fullfile(tempFolder, 'Temp File3.mat');
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!