How do I change the current directory in Simulink Onramp?
16 次查看(过去 30 天)
显示 更早的评论
I'm getting the following error when trying to run a Matlab code block in Simulink Onramp:
The current directory 'c:\program files\matlab\r2023a\bin' is reserved for MATLAB files. Please change your current directory to a writable directory outside of the MATLAB installation area.
I don't know how to change the directory since this is a training module and not a file that I created.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1601881/image.png)
0 个评论
回答(1 个)
Sulaymon Eshkabilov
2024-1-28
Even if you are working online, you can still go for "Save As" option (upper left corner) to select the directory where to save your exercise model.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!