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.

159 views (last 30 days)
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
behnam bigdeli
behnam bigdeli on 30 May 2022
Edited: DGM on 1 Jun 2022
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

Steven Lord
Steven Lord on 4 Feb 2019
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)

Abdulmumin Ahmad
Abdulmumin Ahmad on 3 Nov 2019
Thanks it helped me too
  3 Comments
Yves BAKANG
Yves BAKANG on 4 Jul 2022
Edited: Yves BAKANG on 4 Jul 2022
Morning i have the same problem ! i don't clearly understood how to resolve it, please help me
yousif saffa
yousif saffa on 4 Jul 2022
Edited: yousif saffa on 4 Jul 2022
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

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!