Your current working folder is: C:\Program Files\MATLAB\R2018b\bin Simulink does not permit you to modify the MATLAB installation area. Please change to a working folder that is not in the MATLAB installation area and re-try the previous command.

Your current working folder is: C:\Program Files\MATLAB\R2018b\bin Simulink does not permit you to modify the MATLAB installation area. Please change to a working folder that is not in the MATLAB installation area and re-try the previous command.
i'm using the simulink and this problem appear
i need solution please

1 Comment

A brief YouTube video demonstrating the error and a solution:
How to fix matlab simulink error:
Your current working folder is: C:\Program Files\MATLAB\R2012b\bin
Simulink does not permit you to build programs in the MATLAB installation area.
Please change to a working folder that is not in the MATLAB installation area.

Sign in to comment.

 Accepted Answer

Change your current directory to something outside your MATLAB installation, ideally somewhere you have write permissions. As one example your tempdir should be outside your installation and you should have write permission to it.
cd(tempdir)

More Answers (1)

Thanks it helped me too

3 Comments

Microsoft has decided that people should not be able to write into the Program Files folder. I guess to prevent people from corrupting programs. They want you to write data to the Documents folder, or a separate drive.
I have a separate internal drive, D:, for my data. That way if Windows gets all fouled up and I need to reinstall everything, my data will remain safe and intact since it's on a separate drive.
Morning i have the same problem ! i don't clearly understood how to resolve it, please help me
when you start matlab you are located in your default installation are which does not allow you to modify it
instead you must save else where usually an automatic area located in each user files on the c drive C:\Users\Cloud\OneDrive\Documents\MATLAB
you can change it by choosing where you want to go and where you are currently located
or by simply runinng the cd(tempdir) command to run your program on temporary storage

Sign in to comment.

Categories

Tags

Community Treasure Hunt

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

Start Hunting!