editors.dev

Language / MATLAB Checked against each editor's own docs

The best editors for MATLAB

31 of 41 editors in the directory work with MATLAB. 20 give you completion and go to definition. Here is which one to pick, and what each one really does with MATLAB.

Section 01 · Short answer

Which one to pick

Four picks read off the ranking below, so they never disagree with it: the most complete setup, the best free one, a lightweight editor and one with AI built in.

Section 02 · The ranking

All 31 editors that work with MATLAB

Filter the editor list Filter the IDE list

Best first. Setups with completion and go to definition lead, then editors made for MATLAB, then how much of refactoring, debugging and tests each one gives, then how the support arrives. Every row is checked against the editor's own docs.

  • Built in The support ships with the editor.
  • Official extension An extension by the editor's maker or the language's own project.
  • Community extension A third-party extension.
  • Highlighting only Colours the code and nothing more.

Showing 31 of 31 · best first

Editors that work with MATLAB, best first
Rank Editor MATLAB support What it does with MATLAB Price More
Full support · completion and go to definition · 20
01 VS Code Editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension highlights code without MATLAB installed. Completion, navigation, rename, formatting, code analysis, running, debugging, the workspace view and test runs need a licensed MATLAB R2021b or later on the same machine.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
Microsoft
Free Open source
02 Cursor AI-first editor Official extension MATLAB (MathWorks)

MathWorks publishes its MIT-licensed MATLAB extension on Open VSX, so Cursor gets the same features as VS Code. Everything beyond highlighting needs a licensed MATLAB R2021b or later.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
SpaceXSI (formerly Anysphere)
Free tier, paid plans Free plan; paid plans from $8 to $200 a month
03 Devin Desktop AI-first editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension is on Open VSX, with completion, navigation, rename, formatting, running, debugging and test runs. Everything beyond highlighting needs a licensed MATLAB R2021b or later.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
Cognition
Free tier, paid plans Free plan; Pro $20 and Max $200 a month
04 Kiro AI-first editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension is on Open VSX, with completion, navigation, rename, formatting, running, debugging and test runs. Everything beyond highlighting needs a licensed MATLAB R2021b or later.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
Amazon Web Services (AWS)
Free tier, paid plans Free plan; paid plans from $20 to $200 a month
05 Google Antigravity AI-first editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension is on Open VSX, with completion, navigation, rename, formatting, running, debugging and test runs. Everything beyond highlighting needs a licensed MATLAB R2021b or later.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
Google
Free tier, paid plans Free; Google AI Pro is $19.99 a month
06 TRAE AI-first editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension is on Open VSX and the Visual Studio Marketplace, and everything beyond highlighting needs a licensed MATLAB R2021b or later. TRAE's docs do not say whether its store carries it.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
SPRING (SG) PTE. LTD. (ByteDance)
Free tier, paid plans Free plan; Pro $20 a month, other plans up to $200
07 VSCodium Editor Official extension MATLAB (MathWorks)

MathWorks' MATLAB extension is on Open VSX, with completion, navigation, rename, formatting, running, debugging and test runs. Everything beyond highlighting needs a licensed MATLAB R2021b or later.

Gives
Highlighting · Completion · Go to definition · Refactoring · Debugging · Tests · Formatting
Runs on
Windows · macOS · Linux
Maker
VSCodium community
Free Open source
08 Neovim Terminal editor Official extension matlab_ls (MATLAB language server)

MathWorks lists nvim-lspconfig as a client of its MATLAB language server, which gives completion, go to definition, references, rename, formatting and Code Analyzer diagnostics. You set the MATLAB install path, and a licensed MATLAB R2021b or later is required.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
Neovim contributors
Free Open source
09 GNU Emacs Editor Official extension matlab-mode (Emacs-MATLAB-Mode)

MathWorks maintains Emacs-MATLAB-Mode, installed from MELPA, with matlab-ts-mode, indentation, Code Analyzer linting and a matlab-shell that runs and debugs MATLAB (Unix only). Completion and go to definition come from the MATLAB language server through lsp-mode; MATLAB itself must be installed.

Gives
Highlighting · Completion · Go to definition · Debugging · Formatting
Runs on
Windows · macOS · Linux
Maker
GNU Project
Free Open source
10 Zed Editor Community extension MATLAB (zed-extensions/matlab)

A community extension adds a Tree-sitter grammar and connects to MathWorks' MATLAB language server, which you clone and build yourself with Node.js; the server needs a licensed MATLAB R2021b or later. There is no debugger.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
Zed Industries
Free tier, paid plans Free; Pro at $10 a month adds hosted AI models
11 PhpStorm IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid From $109 the first year or $10.90 a month
12 IntelliJ IDEA IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Free tier, paid plans Ultimate from $199 the first year or $19.90 a month
13 PyCharm IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Free tier, paid plans Pro from $109 the first year or $10.90 a month
14 WebStorm IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid Commercial use from $79 the first year or $7.90 a month
15 Android Studio IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, supports Android Studio Ladybug (2024.2.1) and later, with completion, navigation, rename, formatting and running code with an installed MATLAB. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
Google
Free Open source
16 GoLand IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid From $109 the first year or $10.90 a month
17 CLion IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid Commercial use from $109 the first year or $10.90 a month
18 Rider IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid Commercial use from $169 the first year or $16.90 a month
19 RustRover IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid Commercial use from $69 a year or $6.90 a month
20 RubyMine IDE Community extension Matrix Hero - MATLAB IDE

Matrix Hero, a paid plugin not affiliated with MathWorks, adds completion, go to definition, find usages, rename, formatting and running code with an installed MATLAB, for 2024.2 and later. The free Matlab Support plugin only highlights and was last updated in 2023.

Gives
Highlighting · Completion · Go to definition · Refactoring · Formatting
Runs on
Windows · macOS · Linux
Maker
JetBrains
Paid Commercial use from $109 the first year or $10.90 a month
Some help · more than highlighting, without both of those · 1
21 Geany IDE Built in

Geany has a Matlab/Octave file type for .m files with highlighting and a symbol list. Its default run command calls octave, not MATLAB.

Gives
Highlighting · Go to definition
Runs on
Windows · macOS · Linux
Maker
Colomban Wendling and the Geany contributors
Free Open source
Highlighting only · no completion, no go to definition · 10
22 Helix Terminal editor Highlighting only

Helix highlights .m files with a MATLAB Tree-sitter grammar but configures no language server for it. MathWorks' MATLAB language server can be added by hand in languages.toml.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
Blaž Hrastnik and Helix contributors
Free Open source
23 Sublime Text Editor Highlighting only

Sublime Text ships a Matlab syntax in its default packages. The LSP package has no preset for the MATLAB language server, and the Package Control add-ons for MATLAB completion are old.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
Sublime HQ Pty Ltd
Paid $99 one-off license with 3 years of updates
24 Vim Terminal editor Highlighting only

Vim ships MATLAB syntax, indent and filetype files and tells .m files apart from Objective-C and Octave by their content. Completion and navigation need an LSP plugin with MathWorks' MATLAB language server.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
The Vim project
Free Open source
25 Notepad++ Editor Highlighting only

Notepad++ has a built-in Matlab lexer for .m files. There is no MATLAB keyword file for completion and no Function List parser.

Gives
Highlighting
Runs on
Windows
Maker
Don Ho
Free Open source
26 Kate Editor Highlighting only

Kate's syntax definitions include MATLAB and Octave. The LSP Client plugin has no preset for the MATLAB language server, so it must be added in the user settings.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
KDE
Free Open source
27 Micro Terminal editor Highlighting only

Micro ships an Octave syntax file that colors .m files, which also covers most MATLAB code; files that look like Objective-C are detected as such. There is no language server preset.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
Zachary Yedidia and micro contributors
Free Open source
28 TextMate Editor Highlighting only Matlab bundle

The Matlab bundle is in TextMate's own bundle list but is not installed by default and was last updated in 2015. It has MATLAB and Octave grammars, snippets and commands to send code to a running MATLAB.

Gives
Highlighting
Runs on
macOS
Maker
MacroMates Ltd.
Free Open source
29 BBEdit Editor Highlighting only Matlab (codeless language module)

BBEdit has no built-in MATLAB module. Bare Bones' module library lists a third-party codeless Matlab module that adds coloring and function navigation, and no MATLAB language server is preconfigured.

Gives
Highlighting
Runs on
macOS
Maker
Bare Bones Software, Inc.
Free tier, paid plans $59.99 one-off license
30 Pulsar Editor Highlighting only language-matlab

Pulsar ships no MATLAB grammar. The old Atom package language-matlab, still in Pulsar's registry, adds MATLAB and Octave highlighting only.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
Pulsar-Edit community
Free Open source
31 GNU nano Terminal editor Highlighting only octave.nanorc (galenguyer/nano-syntax-highlighting)

nano ships no MATLAB syntax file. The community galenguyer/nano-syntax-highlighting collection has an octave.nanorc for .m files that also colors MATLAB code.

Gives
Highlighting
Runs on
Windows · macOS · Linux
Maker
GNU Project (maintainer Benno Schulenberg)
Free Open source

10 of 41 editors left out: no MATLAB support Compare Cursor vs VS Code

Section 03 · The language

About MATLAB

MATLAB is a proprietary language and computing environment from MathWorks for numerical work with matrices and arrays. It is used for data analysis, signal and image processing, control design and simulation, with many add-on toolboxes and the Simulink modelling tool.

Actively developed First released 1984

Today

MathWorks ships two releases a year, named after the year with the letter a or b; R2026b was announced on 24 September 2026, after R2026a in spring. R2026b added TOML-based project files and package management through File Exchange, and new live scripts are now saved in the plain-text .m format by default instead of the binary .mlx format. Running MATLAB code needs a MATLAB licence. GNU Octave is a free program that runs much MATLAB code. In the TIOBE index for November 2026 MATLAB ranks 16th.

What it is used for

Numerical computing and data analysis in engineering and science: signal and image processing, control systems, communications, financial modelling, machine learning and teaching. Together with Simulink it is used for model-based design and code generation for embedded systems.

Official site: mathworks.com

Section 04 · Where it came from

History

Cleve Moler wrote the first MATLAB, short for "matrix laboratory", in Fortran in the late 1970s while teaching at the University of New Mexico. It was an interactive matrix calculator built on the LINPACK and EISPACK libraries, so that students could use them without writing Fortran. Moler used it in a course at Stanford in 1979–80, where Jack Little came across it.

Little and Steve Bangert rewrote MATLAB in C, and with Moler they founded The MathWorks in California in 1984. PC-MATLAB was shown in December 1984 at the IEEE Conference on Decision and Control, and Pro-MATLAB for Unix workstations followed in 1985. Toolboxes for control and signal processing came next. MATLAB 4 in 1992 added sparse matrices, MATLAB 5 in 1996 added cell arrays and structures, the MATLAB desktop arrived in 2000, and MATLAB 7 in 2004 completed single-precision support and added integer types.

Release R2008a brought classdef files for defining classes with properties, methods and events. R2016a introduced the Live Editor and live scripts (.mlx) that mix code, output and formatted text. R2025a replaced the desktop with a web-based one shared with MATLAB Online, added a dark theme and allowed live scripts in plain-text .m files, which R2026b made the default.

Section 05 · Versions

Milestone versions

Released Version What it brought
December 1984 PC-MATLAB First commercial MATLAB, rewritten in C and shown at the IEEE Conference on Decision and Control.
1992 4 Added sparse matrices.
1996 5.0 Added cell arrays and structures.
2000 6.0 (R12) Introduced the MATLAB desktop.
2004 7.0 (R14) Completed single-precision support and added integer and logical types.
March 2008 R2008a (7.6) New object system with classdef files, handle classes, events and listeners.
21 March 2016 R2016a (9.0) Introduced the Live Editor and live scripts (.mlx).
15 May 2025 R2025a New web-based desktop with a dark theme, plain-text live scripts and MATLAB Copilot.
24 September 2026 R2026b Latest TOML-based project files, package management through File Exchange, Google Sheets integration; plain-text .m becomes the default for new live scripts.

5 of 9 shown

Section 06 · Where the facts come from

Sources

Last checked: 25 November 2026 Method

Section 07 · Language index

Neighbouring languages

All 40 languages