Why won't Simulink Onramp launch?

72 vues (au cours des 30 derniers jours)
Jerry Jenkins
Jerry Jenkins le 10 Mar 2021
Commenté : Florian Schallinger le 7 Avr 2024 à 15:23
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

Asvin Kumar
Asvin Kumar le 16 Mar 2021
The 'CacheFolder' mentioned is from Simulink preferences > General.
More details on it are given in this section from the page on Simulink general preferences. Like it mentions, the setting is empty by default and that means that the Cache Folder uses the present working directory (pwd). You could try either of the following:
  1. Verify whether your current directory is under the temp folder. Change the pwd to a folder that is not under the temp folder.
  2. Manually set the Cache Folder under Simulink general preferences.
Here's how to get details about the current Cache Folder programmatically: Get File Generation Control Parameters
Here's how to modify the Cache Folder programmatically: Set File Generation Control Parameters
You can use tempdir to see the System Temp Directory.
  1 commentaire
Jerry Jenkins
Jerry Jenkins le 22 Mar 2021
Thank you very much!

Connectez-vous pour commenter.

Plus de réponses (2)

Aravind Mallemputi
Aravind Mallemputi le 6 Sep 2021
please show me the procedure.
  5 commentaires
Karansingh Patil
Karansingh Patil le 23 Jan 2023
Worked well
Yujie
Yujie le 22 Fév 2023
worked well! Thanks.

Connectez-vous pour commenter.


Shaopan Guo
Shaopan Guo le 2 Juin 2022
You can just change your current working space directory.
  1 commentaire
Florian Schallinger
Florian Schallinger le 7 Avr 2024 à 15:23
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by