Identify current folder
pwdcurrentFolder = pwd
pwd displays the MATLAB® current folder.
pwd
currentFolder = pwd returns the current folder as a character vector to currentFolder.
currentFolder = pwd
currentFolder
Use the Current Folder toolbar.
cd | dir
cd
dir