Why won't Simulink Onramp launch?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (2)
Aravind Mallemputi
le 6 Sep 2021
3 votes
please show me the procedure.
6 commentaires
michael farrell
le 5 Mar 2022
%
myCacheFolder = fullfile('C:','aNonDefaultCacheFolder');
myCodeGenFolder = fullfile('C:','aNonDefaultCodeGenFolder');
Simulink.fileGenControl('set', ...
'CacheFolder',myCacheFolder, ...
'CodeGenFolder',myCodeGenFolder, ...
'keepPreviousPath',true, ...
'createDir',true);
Omer Faruk
le 8 Nov 2022
Thanks a lot!!
Omer Faruk
le 8 Nov 2022
%
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
le 23 Jan 2023
Worked well
Yujie
le 22 Fév 2023
worked well! Thanks.
Andrea
le 20 Juin 2024
great tip! still working on june 2024
Shaopan Guo
le 2 Juin 2022
1 vote
You can just change your current working space directory.
2 commentaires
Florian Schallinger
le 7 Avr 2024
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
le 11 Avr 2025
You can set the file directories in Simulink->Preferences.
I used the files created by the provided by from other comments in this thread.
Catégories
En savoir plus sur Simulink Environment Customization dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!