Live Editor support for Visual Studio Code

161 views (last 30 days)
CAME18
CAME18 on 12 Jun 2022
Answered: Yash on 10 Nov 2024 at 15:13
Is there support for Live Scripts for Visual Studio like the one for Jupyter Notebooks?. My main interest is to employ GitHub Copilot with MATLAB Live Scripts. I've found support for .m classic scripts but no luck so far for mlx.
Alternatively: is there any way to employ GitHub Copilot inside MATLAB?
  3 Comments
Gokul
Gokul on 2 Dec 2022
to the OP - you say that you have already used GitHub Copilot with classic .m MATLAB scripts. Is the copilot AI any good for MATLAB in your experience?
Amit Hochman
Amit Hochman on 9 Apr 2023
I use it (in vscode) and it is excellent.

Sign in to comment.

Answers (1)

Yash
Yash on 10 Nov 2024 at 15:13
Beginning with MATLAB R2024b, the new MATLAB Desktop introduces an option of saving MLX to M based live script. Settings can be updated so that all the new live scripts would be M based (source: [1] [2])
Additionally, significant advancements have been made in the official MATLAB extension for Visual Studio Code. Refer to this blog from MathWorks for recent updates: https://blogs.mathworks.com/matlab/2024/03/05/matlab-extension-for-visual-studio-code-now-with-code-execution/
The MATLAB extension is available through the Visual Studio Marketplace and its development can be followed on the GitHub repository.

Categories

Find more on Integration with Online Platforms in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!