Main Content

Run MATLAB on Microsoft Azure Using Reference Architecture

Use a customizable reference architecture to run MATLAB® on a Windows® or Linux® virtual machine in Microsoft® Azure®. The reference architecture includes MATLAB, Simulink®, and toolboxes, as well as support for GPUs.

Use this reference architecture when you want to launch MATLAB in a specific region, combine your MATLAB resources with your existing cloud resources, or automate deployment.

For a simpler but less customizable method of launching a MATLAB in Microsoft Azure, see Run MATLAB from Microsoft Azure Marketplace.

Requirements

To use this reference architecture, you need:

  • A Microsoft Azure account. You are responsible for the costs of all Microsoft Azure services.

  • A MATLAB license that meets the following conditions:

    • Linked to a MathWorks Account.

    • Configured for cloud use. Individual and Campus-Wide licenses are already configured. For other license types, contact your administrator. You can identify your license type and administrator by viewing your MathWorks Account. Administrators can consult Administer Network Licenses.

Run MATLAB Using Prebuilt Microsoft Azure Machine Image from GitHub

By default, the MATLAB reference architectures launch prebuilt machine images. Using a prebuilt machine image is the easiest way to deploy a MATLAB reference architecture. To launch MATLAB in Microsoft Azure, use the reference architecture templates provided in the following GitHub® repository:

You can run the template directly from the link in the GitHub repository. Choose your MATLAB release, and then click the Deploy to Azure icon.

Build and Deploy Your Own Microsoft Azure Machine Image

To build your own machine image using MathWorks® scripts, see the build scripts and instructions in GitHub for customizing and deploying your own machine image.

These scripts form the basis of the MathWorks machine image build process. A HashiCorp Packer template generates the machine image. You can use these scripts to build a custom machine image for running MATLAB on Microsoft Azure.

Related Topics

External Websites