MATLAB: How can i solve this message “The current directory ‘d:\matlap2015\bin’ is reserved for MATLAB files. Please change your current directory to a writeable directory outside of the MATLAB installation area. Component.?

component: stateflow | category: general error

"The current directory 'd:\matlap2015\bin' is reserved for MATLAB files. Please change your current directory to a writeable directory outside of the MATLAB installation area. Component.

Best Answer

As the message suggests, change your current directory (using cd) in MATLAB to a directory other than the bin directory in your MATLAB installation before performing whatever operation you were performing when you received this error. You should not create any new files or modify any existing files in that directory, as any new or modified files in that directory could interfere with how MATLAB executes or even prevent it from being able to start altogether.