Identify current folder
pwd
displays the MATLAB® current folder.
returns
the path to the current folder.currentFolder
= pwd
Change the current folder to a local folder and store the path.
cd c:\myMATLABFiles
currentFolder = pwd
currentFolder = 'c:\myMATLABFiles'
View the current folder in the Current Folder toolbar.