Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Matlab Interactive TerminalNew to Visual Studio Code? Get it now.
Matlab Interactive Terminal

Matlab Interactive Terminal

Aurélien Pommel

|
149,423 installs
| (3) | Free
Interactive MATLAB terminal for Visual Studio Code, compatible with Windows, Mac and Linux
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Matlab Interactive Terminal for Visual Studio Code

Matlab Interactive Terminal is an extension for Visual Studio Code that allows users to launch MATLAB scripts and have a working MATLAB REPL directly included in Visual Studio Code. This extension uses the MATLAB Engine for Python which must be correctly set up for the extension to work. It works equally on Windows, macOS and Linux.

Requirements

  • Python x64 2.7, 3.7 or 3.8 (added to PATH), available here or through other distributions such as Anaconda
  • MATLAB R2014b (Matlab 8.4) or higher
  • MATLAB Engine API for Python, installations instructions are available here

N.B.: The Python requirements may vary depending on the installed MATLAB version. More information about MATLAB-Python compatibility is available on MathWorks website.

Features

The extension adds three commands to Visual Studio Code, that can then be tied to key-bindings. These are:

  • Open a MATLAB Terminal which opens an interactive MATLAB terminal in the VS Code integrated terminal, similar to the MATLAB command line
  • Run current MATLAB Script which runs the currently opened MATLAB script and then allows the user to interact with it through the opened terminal
  • Run current selection in MATLAB which runs the currently selected text in a MATLAB terminal. If no text is selected, the current line is run instead

Recommended VS Code Extensions

  • Matlab (from Xavier Hahn) provides syntax coloration, snippets and linting for the Matlab language. Matlab Interactive Terminal is thought for working with it.
  • Matlab Code Run (from Bram Vanbilsen) is a good alternative to Matlab Interactive Terminal without the Python and Matlab Engine API dependencies. It should provide similar functionalities on both Mac OS and Linux.

Known Issues

See https://github.com/apommel/vscode-matlab-interactive-terminal/issues

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft