Building Apps in MATLAB

Turn MATLAB scripts, algorithms, and visualizations into apps that others can use

An app is an interactive tool built around your code. Apps let users change inputs, run calculations, explore results, and visualize outputs without needing to work directly in the Command Window or editing scripts.

Apps can be lightweight and temporary, or polished and reusable. Some are built from Live Scripts with interactive controls. Others are designed in App Designer or written entirely in MATLAB code.

Choose the App-Building Approach That Fits Your Workflow

Fastest Starting Point

Add Interactivity to a Live Script

Already have a script? Add interactive controls directly in Live Editor so users can adjust values, run sections, and explore results.

  • Sliders, drop-downs, check boxes, and buttons
  • Live outputs next to code
  • Optional hidden code to create focused user experiences

Best for Reusable Tools

Create Structured Apps with App Designer

When your workflow needs a dedicated interface, App Designer provides a visual environment for building apps with controls, layouts, plots, tables, and callbacks connected to your MATLAB code.

  • Drag-and-drop interface elements
  • Canvas-based layout and code view
  • Built-in tools for sharing and distributing apps

Most Control

Build Apps Programmatically

Need more control? Build your app directly in MATLAB code using programmatic UI components, layout managers, callbacks, and custom application logic.

  • uifigure and UI component functions
  • Layout managers and callbacks
  • Custom app architecture

 

Use Generative and Agentic AI to Move Faster from Idea to App

AI can help generate app structure, interface elements, callbacks, helper functions, and tests while you maintain control over the final MATLAB code. Use MATLAB Copilot inside MATLAB or connect external coding agents through MATLAB MCP Server and the MATLAB Agentic Toolkit to generate, refine, and debug apps.

Share and Run Your Apps

Choose how you want others to use your app, whether they work in MATLAB, need an application that runs outside MATLAB, or want to discover and build on your work.

Run in MATLAB

Share your app with colleagues and run it in MATLAB on the desktop or in a web browser with MATLAB Online. Collaborate using MATLAB Drive, GitHub, and other source control tools.

Run Outside MATLAB

Deploy your app as a standalone desktop application using MATLAB Compiler or as a web app hosted on MATLAB Web App Server, so people can use it without MATLAB.

Publish Your Work

Share your apps and projects on File Exchange or GitHub so others can discover, use, and build on your work.

See What Others Have Built

Explore how MATLAB users apply app building to solve real problems, share their work, and make complex workflows easier to use.