How do I change the current directory in Simulink Onramp?
Show older comments
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.

Answers (1)
Sulaymon Eshkabilov
on 28 Jan 2024
1 vote
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.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!