Main Content

Get Started with MATLAB Copilot

Create, refine, and debug MATLAB code with generative AI
Since R2025a

MATLAB® Copilot provides generative AI–powered capabilities specifically for the MATLAB desktop environment. It assists with MATLAB workflows and provides responses based on MATLAB specific information. You can use MATLAB Copilot to learn techniques, develop ideas, and improve productivity.

With MATLAB Copilot, you can ask questions in the Copilot Chat and get responses based on relevant MathWorks® documentation and code examples. As you type in the MATLAB Editor, autocompletions provide code predictions. Alternatively, describe the code you want, and MATLAB Copilot will create or modify code for you.

MATLAB Copilot helps with programming tasks by explaining code and error messages and adding comments. You can also automatically generate test cases to verify expected code behavior with MATLAB Test™.

Tutorials