- Verify whether your current directory is under the temp folder. Change the pwd to a folder that is not under the temp folder.
- Manually set the Cache Folder under Simulink general preferences.
Why won't Simulink Onramp launch?
55 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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:
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
更多回答(2 个)
Shaopan Guo
2022-6-2
You can just change your current working space directory.
1 个评论
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!