From: Theguyfromstarwars on
Hi,

I'm having a problem with the default working directory. I brought some work home on a USB drive and tried to copy the files into the work folder. But when I open the files from within Matlab it shows me an earlier version that I've over-written. I can edit and save these versions but I just can't copy the new ones into that folder. I tried deleting the folder with all the old files out of the work folder but I can still see this deleted folder in the 'change current directory' dialog in Matlab. If I set the USB drive as the working directory I can open and edit the newest versions. It's as if Matlab just won't let go of the old files for some reason!! Going in through windows explorer, it says the folder is read only but none of the files in there are read only and when I select all and turn off read only nothing changes.

Any idea what could be going on here?

Thanks.
From: Steven Lord on

"Theguyfromstarwars " <fakeemail(a)spam.com> wrote in message
news:husvnd$jcg$1(a)fred.mathworks.com...
> Hi,
>
> I'm having a problem with the default working directory. I brought some
> work home on a USB drive and tried to copy the files into the work folder.
> But when I open the files from within Matlab it shows me an earlier
> version that I've over-written. I can edit and save these versions but I
> just can't copy the new ones into that folder. I tried deleting the folder
> with all the old files out of the work folder but I can still see this
> deleted folder in the 'change current directory' dialog in Matlab. If I
> set the USB drive as the working directory I can open and edit the newest
> versions. It's as if Matlab just won't let go of the old files for some
> reason!! Going in through windows explorer, it says the folder is read
> only but none of the files in there are read only and when I select all
> and turn off read only nothing changes.
>
> Any idea what could be going on here?

Is your work folder under fullfile(matlabroot, 'toolbox')?

If so, move it to avoid these types of cache issues.

http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/f8-28521.html

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com