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!