Avoid slprj folder and slxc files
显示 更早的评论
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.
采纳的回答
更多回答(1 个)
Image Analyst
2022-9-11
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');
类别
在 帮助中心 和 File Exchange 中查找有关 Using MATLAB Projects in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!