mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.

Home Page:https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vscode doesnt recognize matlab code files

Fuzqui opened this issue · comments

Hello,

I have installed the matlab extension on vscode. The connection works and I can run matlab code through the matlab terminal on vscode. But I don't have the run button, the highlighted syntax and all the features of the extension, it is as if vscode doesnt recognize the file as a matlab code file.

thanks for your help
Capture d’écran 2024-04-15 à 21 19 05

Hi @Fuzqui , can you please let us know what language VS Code believes the file to be? This should display in the status bar, typically in the bottom right part of the window.

vscode believes its octave and when I try to change it won't let me. Thanks for answering this fast
Capture d’écran 2024-04-15 à 21 29 51

I suspect that there may be another extension which is interfering, as I do not believe VS Code provides support for Octave itself.

Can you check to see if there are any other MATLAB- or Octave-related extensions installed?

you are right, I had the octave debugger ! it works now. thanks a lot !!!!

Glad to hear it!