MATLAB

Generative AI with MATLAB and Simulink

Navigating generative and agentic AI capabilities for engineering workflows

Use generative AI with MATLAB and Simulink in engineering and science workflows, from writing and refining code to building complex engineered systems. Apply generative AI directly in MATLAB and Simulink or integrate it with external AI tools as part of your development process.

Accelerate Development with Integrated Copilots

MATLAB Copilot

MATLAB Copilot is an AI assistant optimized for MATLAB. It brings generative AI directly into your MATLAB environment, acting as a personal productivity partner for technical computing workflows. You can use MATLAB Copilot in the MATLAB desktop to receive responses grounded in MathWorks documentation, generate MATLAB code, get answers to technical questions, and accelerate routine tasks.

Simulink Copilot

Simulink Copilot provides generative AI capabilities focused on Simulink and Model-Based Design. You can use Simulink Copilot to explain models and errors, learn tools and techniques, get design guidance, and automate predefined tasks.

Panel Navigation

eBook

Your Guide to Agentic AI with MATLAB

Connect LLMs to MATLAB through the Model Context Protocol and create AI agents that code, run simulations, and iterate autonomously. Learn how in this practical ebook.

Connect MATLAB with External AI Agents

Integrate MATLAB with agentic AI workflows

MATLAB MCP Core Server enables you to connect third-party agentic AI tools like Claude Code, OpenAI® Codex, or GitHub® Copilot to a MATLAB instance. You can use built-in tools for code execution, static code analysis, and testing.

Use AI assistants in Visual Studio Code with MATLAB

The MATLAB extension for Visual Studio Code enables you to edit and run MATLAB code in Visual Studio Code, with features such as syntax highlighting, code analysis, and navigation support. You can use the extension with agentic AI assistants in Visual Studio Code such as GitHub Copilot and Cursor.

Deploy your MATLAB algorithms and models as MCP tools

MCP Framework for MATLAB Production Server deploys your MATLAB function to MATLAB Production Server as an MCP tool. This enables your AI agent to respond to queries with your own custom algorithms. Intellectual property is secured in encrypted packages. You can access deployed tools without a MATLAB license.

Build AI Applications in MATLAB

Incorporate generative AI models in your MATLAB applications

You can connect MATLAB programmatically to popular LLM APIs like OpenAI and Azure® OpenAI Service, as well as local LLMs via Ollama. Once connected, you can build chat features and retrieval-augmented generation (RAG) into your apps, summarize data, and generate image descriptions using an LLM.

With the MATLAB MCP client, you can build generative AI applications within MATLAB that leverage existing tools and connect to external MCP servers.

Explore how engineers and scientists are applying AI with MATLAB to augment existing workflows

Panel Navigation

Tata Motors Accelerates Vehicle Diagnostics with LLM-Based Chat Assistant

Panel Navigation

The University of Copenhagen Empowers Food Science Research with Generative AI