Why won't Simulink Onramp launch?
이전 댓글 표시
Hello,
Whenever I attempt to launch Simulink Onramp, I recieve an error saying "Simulink Onramp failed to launch. The system temporary folder is a subfolder of 'CacheFolder', which is not supported. Change the 'CacheFolder' so it is not a subfolder of the system temporary folder." I cannot find 'CacheFolder' through searching the computer, and I do not know how to change this subfolder. How can I fix this error?
채택된 답변
추가 답변 (2개)
Aravind Mallemputi
2021년 9월 6일
3 개 추천
please show me the procedure.
댓글 수: 6
michael farrell
2022년 3월 5일
%
myCacheFolder = fullfile('C:','aNonDefaultCacheFolder');
myCodeGenFolder = fullfile('C:','aNonDefaultCodeGenFolder');
Simulink.fileGenControl('set', ...
'CacheFolder',myCacheFolder, ...
'CodeGenFolder',myCodeGenFolder, ...
'keepPreviousPath',true, ...
'createDir',true);
Omer Faruk
2022년 11월 8일
Thanks a lot!!
Omer Faruk
2022년 11월 8일
%
myCacheFolder = fullfile('C:','aNonDefaultCacheFolder');
myCodeGenFolder = fullfile('C:','aNonDefaultCodeGenFolder');
Simulink.fileGenControl('set', ...
'CacheFolder',myCacheFolder, ...
'CodeGenFolder',myCodeGenFolder, ...
'keepPreviousPath',true, ...
'createDir',true);
copy the code above then paste into matlab code area and run it.
Karansingh Patil
2023년 1월 23일
Worked well
Yujie
2023년 2월 22일
worked well! Thanks.
Andrea
2024년 6월 20일
great tip! still working on june 2024
Shaopan Guo
2022년 6월 2일
1 개 추천
You can just change your current working space directory.
댓글 수: 2
Florian Schallinger
2024년 4월 7일
How can you do that permanently? When I copy/pasted the code from above, I had to do it again ont the following bootup of the programm.
Ugur
2025년 4월 11일
You can set the file directories in Simulink->Preferences.
I used the files created by the provided by from other comments in this thread.
카테고리
도움말 센터 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!