Date: Dec 10, 2012 12:56 PM
Author: Joana
Subject: eval - Error: Unexpected MATLAB operator

I'm analyzing an old code where they recommend to use matlab 5!!

this is what is written:

[cfile,dir] = uigetfile(zid)
eval(['cd' dir]);

It gives me "Error: Unexpected MATLAB operator" could it be because something has changed in this current version?