Identify current folder
Store Path to MATLAB® Current Folder
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.
currentFolder — MATLAB current folder path
MATLAB current folder path, returned as a character vector.
Run code in the background using MATLAB®
backgroundPool or accelerate code with Parallel Computing Toolbox™
This function fully supports thread-based environments. For more information, see Run MATLAB Functions in Thread-Based Environment.
Introduced before R2006a