Avoid slprj folder and slxc files
조회 수: 21 (최근 30일)
이전 댓글 표시
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
채택된 답변
Paul
2022년 9월 11일
Possibly can be done via Simulink preferences. Try this doc page, particularly the section on "Folders for Generated Files."
추가 답변 (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');
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!