MATLAB Answers

Why won't Simulink Onramp launch?

조회 수: 73(최근 30일)
Jerry Jenkins
Jerry Jenkins 2021년 3월 10일
답변: Aravind Mallemputi 2021년 9월 6일 1:07
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?

채택된 답변

Asvin Kumar
Asvin Kumar 2021년 3월 16일
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
Jerry Jenkins
Jerry Jenkins 2021년 3월 22일
Thank you very much!

댓글을 달려면 로그인하십시오.

추가 답변(1개)

Aravind Mallemputi
Aravind Mallemputi 2021년 9월 6일 1:07
please show me the procedure.

Community Treasure Hunt

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

Start Hunting!

Translated by