Use MATLAB Online Hosted by Your Organization
If your organization hosts MATLAB® Online™ using MATLAB Online Server™, then you can access MATLAB Online from a standard web browser and log in using your organization credentials. In this environment, your IT administrator configures the network drives, local storage folders, MATLAB versions, and MATLAB add-ons that you can access.
MATLAB Online also includes support for Simulink® Online. (since R2023b)
Access MATLAB Online
You can access MATLAB Online from most modern web browsers running on Windows®, Mac, Linux®, and Chrome® OS, including the current versions of these browsers:
For the best overall experience, use Google Chrome.
To access MATLAB Online:
In your browser, enter the URL to the MATLAB Online login page provided by your IT administrator. A typical URL has this format, where
is the name of your organization.
From the login page, log in to MATLAB Online using your organization credentials. If you do not know your credentials or have questions about the login process, contact your administrator.
If your administrator set up multiple MATLAB versions, then after you log in, select from the available options you have access to (for example, R2023a and R2023a with GPU). If you do not have access to a version of MATLAB that you expect, contact your administrator.
You can now begin using MATLAB Online. If you experience any of these issues when logging in, contact your administrator.
MATLAB Online stops responding during the login process.
You receive a message the maximum number of licenses has been exceeded.
You receive an error that no resources are available.
You can open only one MATLAB Online session at a time. You cannot run multiple session in different browser tabs, for example.
Manage Files and Folders
MATLAB Online integrates with your network file system as defined by your administrator. The Current Folder Browser displays the root of this file system. From this folder, you can navigate to the files and folders you have access to. If you do have access to the files or folders that you expect, contact your administrator.
Upload and Download Files
To upload a file, on the Home tab, click Upload. Alternatively, drag and drop your file into the Current Folder browser.
To download a file, on the Home tab, click Download. You must have access to the file to download it.
Specify File Names
Online Server hosts MATLAB
Online on a Linux platform, MATLAB recognizes only the Linux file path format, such as the forward slash (
file path separators. This behavior is true even if you log in to MATLAB
Online from a Windows machine.
To avoid specifying file separators altogether, construct file paths using the
fullfile function. This functions
builds full file names from component parts with the appropriate file separator
characters, which is especially useful if you plan to share your code with people
running MATLAB on different platforms. For example:
Other functions that are useful for working with files and paths include:
MATLAB add-ons encompass a wide variety of resources, including products, apps, support packages, and toolboxes. For add-ons published by MathWorks®, your IT administrator must install them.
Depending on how your administrator configured the server, you might be able to install third-party toolboxes from the Add-On Explorer. For details, see Get and Manage Add-Ons.
MATLAB Online Server does not support all MathWorks products or functionality. For a complete list of supported software, see MATLAB Online Server Specifications and Limitations.
Most of the options used to customize the MATLAB desktop layout also apply to customizing the MATLAB Online layout. For details, see Change Desktop Layout.
Some of the key differences include:
MATLAB Online defaults to a two-column layout instead of a three-column layout.
Undocking tools and documents is not supported in MATLAB Online.
Instead of opening in new browser windows, some apps in MATLAB Online open in new browser tabs.
Navigate Using Keyboard Shortcuts
Because MATLAB Online runs in a browser, keyboard navigation in MATLAB Online differs slightly from keyboard navigation on the MATLAB desktop. For a list of keyboard shortcuts, see the MATLAB Online sections in Use Keyboard Shortcuts to Navigate MATLAB.
Keyboard shortcut limitations include:
Saving workspace variables using Ctrl+S is not supported.
Customizing keyboard shortcuts is not supported.
Use Source Control
If your IT administrator has configured a home directory on a network drive that can be shared between your computer and MATLAB, you can use Git™ source control to interact with GitHub® repositories from MATLAB Online. The folder and files you interact with in this shared directory are shown in the MATLAB folder browser. For more details, see Use Git in MATLAB.
Before R2021b: Use command-line Git source control. For example, to clone a public
!git clone https://github.com/path/to/repo.git
!git clone https://GitUser:Password@github.com/GitUser/repo.git
Connect to Hardware
MATLAB Online cannot interact with most hardware, including instrument control. However, these exceptions apply:
USB webcams are supported through Google Chrome only. See Webcam Support in MATLAB Online (MATLAB Support Package for USB Webcams).
Raspberry Pi® hardware communication is supported. See Connect to Raspberry Pi Hardware Board in MATLAB Online (MATLAB Support Package for Raspberry Pi Hardware).
End MATLAB Session
When you are done using MATLAB, sign out to end your session. If you close your browser without signing out, the session remains active until the session timeout limit is reached. The default is 15 minutes. If MATLAB Online detects 15 consecutive minutes of inactivity, it logs you out of the session. If you need a longer session timeout limit, contact your administrator.
When you log out, MATLAB Online automatically saves and restores these items between sessions:
MATLAB settings and preferences
Files in your home folder
The following items are not automatically saved and restored between sessions:
Dynamic Java® classpath