FUNCTION REFERENCE
pwd
Return the current folder.
Return the current folder.
Syntax
folder = pwdThe folder belongs to this engine. File I/O, cd and desktop job submission use it. With no output, prints the folder.
Example
isdir(pwd) % 1Differences from MATLAB: The host process current directory is unchanged by engine folder changes.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.