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.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
234 stars 15 forks source link

Failed connection to MATLAB despite setting correct exec path #47

Closed OofMon2301 closed 1 year ago

OofMon2301 commented 1 year ago

Having installed MATLAB on the right path, VSCode still outputs this error:

image

The executable path was found by typing matlabroot into the desktop app:

image

The executable path written in VSCode is as follows:

image

dklilley commented 1 year ago

The setting should just be wet to the file path (i.e. C:\Program Files\MATLAB\R2023a without quotes).

We will see what we can do to make the README a bit more clear about this.

OofMon2301 commented 1 year ago

The setting should just be wet to the file path (i.e. C:\Program Files\MATLAB\R2023a without quotes).

Right, that makes sense now. Thank you for the help.