Novice_Developer
Novice_Developer

Reputation: 1492

Error : The current directory is reserved for MATLAB files

I am trying to run my simulink file it was working fine at the university but now when i copied those files to my own computer , I am getting the following error

enter image description here

and pwd command gives me the same library

pwd

ans =

C:\Program Files\MATLAB\R2013a\bin\MATLAB_WORK\TU4\tu4 I cannot figure out whats wrong

Upvotes: 1

Views: 3816

Answers (1)

Peter
Peter

Reputation: 14947

Don't put your MATLAB_WORK directory under MATLAB's binary directory. Put in your Documents area under your user account. There are a few reasons for this:

  1. If you're using backups, your user account is backed up. Program files are not.
  2. MATLAB pre-parses its own toolbox files for faster startup. But this means that it many cases it doesn't detect changes in M-files in its own toolboxes.
  3. MATLAB is telling you to

Upvotes: 3

Related Questions