MATLAB executables with VSCode

42 views (last 30 days)
Will Green
Will Green on 4 Jul 2018
Answered: Rubem Pacelli on 16 Mar 2022
Hello All,
I'm new to MATLAB by one day, It seems really useful so I am trying to learn the language (in this instance) to aid some EE/ Arduino Projects, E.g data analysis & GUIs; I use VSCode with Platformio for a better development environment instead of the Arduino IDE, in attempt to include MATLAB to these settings, I am getting the error: "Could not find path to the matlab executable."
Issue filed on github: https://github.com/Gimly/vscode-matlab/issues/59
Find Below the User Profile Settings - Any ideas?
"matlab.matlabpath": "/Applications/MATLAB_R2018a.app/bin/maci64/MATLAB", or .../bin/matlab
"matlab.mlintpath": "/Applications/MATLAB_R2018a.app/bin/maci64/mlint",
Should I be pointing to a binary file or a folder? Original documentation describes a binary file but that still results in an error.

Answers (1)

Rubem Pacelli
Rubem Pacelli on 16 Mar 2022
On Linux, you should pass the binary path
path/to/matlab/bin/glnxa64/mlint

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!