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 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!