Tried Googling, but couldn't find anything.
I have a few files and folders in my current MATLAB folder.
One of those folders is called 'Map' and it has a 'map1.m' file which I want to call from my code in the current MATLAB folder.
In my code, I can't call it like this:

/Map/map1;

but I can do so like this:

cd Map;
map1;
cd ..;

Somehow the above method seems incorrect. Is there a more elegant way to do it?

Edit
Report