matlabdrive
Syntax
Description
returns the path to the
folder that contains the content of your MATLAB®
Drive™.M
= matlabdrive
You can run matlabdrive
from your desktop or from other
MATLAB environments such as MATLAB
Online™. On desktop systems, you must have MATLAB Connector installed. If MATLAB is unable to find the MATLAB
Drive folder, matlabdrive
returns an error.
Examples
Tips
On a desktop system, MATLAB Connector must be running and properly configured. Otherwise,
matlabdrive
returns an error. For more information, see Use MATLAB Connector to Manage Your Files.On a MATLAB Parallel Server™ cluster provisioned through Cloud Center, the cluster must be configured as a personal cluster with a dedicated head node. Otherwise,
matlabdrive
returns an error.
Version History
Introduced in R2021a
See Also
fullfile
| tempdir
| matlabroot
| path
| prefdir