Access Files in MATLAB Online
MATLAB® Online™ provides access to MATLAB from a standard web browser. You can access your files in MATLAB Online by adding them to your MATLAB Drive™ or by uploading them to MATLAB Online directly from your system. You also can download files from MATLAB Online to your system, preview files, and restore previous versions of your files.
Upload and Download Files
To upload files from your system to MATLAB Online, in your system file browser, select the files that you want to upload. Then, drag the files anywhere on the MATLAB Online desktop. MATLAB places the files in the current folder. To upload them to a specific folder, drag them over the desired folder in the Files browser. Alternatively, to upload files directly from the Files browser, right-click in white space and select Upload Files or Upload Folders.
When you upload a file to MATLAB Online, it is added to your MATLAB Drive. If you add files to your MATLAB Drive outside of MATLAB Online, you can access those files in MATLAB Online. For more information about adding files to MATLAB Drive, see Add Files to MATLAB Drive.
To download a file from MATLAB Online to your local system, in the Files browser, right-click the file and select Download.
To preview the contents of a file or folder in MATLAB Online without opening it, in the Files browser, right-click the file and select Preview. You also can click the Preview button to the right of the file or folder name.
In MATLAB Online, each time you save a code file, MATLAB stores the contents of your file in the version history. To recover a previous version of a file, select the File Versions tab.
The file version history appears, as shown in this figure.
Browse for the version you want by selecting from the list, or by clicking Older or Newer. When you find the version, click Restore as latest. MATLAB adds the restored file version to the top of your file version history with a new timestamp and version number.
MATLAB Online stores previous versions of a file for 30 days. After 30 days, the previous version of the file is permanently deleted.