Reputation: 748
I want to debug my mex code with VS Code. So I am trying to setup the VS Code with my Matlab (R2018a). But VS Code could not find the path for the Matlab application. I am using the following path: /Applications/MATLAB_R2018a.app
.
This figure shows the error message and the path used for Matlab:
Upvotes: 1
Views: 746
Reputation: 60780
The MATLAB executable is at
/Applications/MATLAB_R2018a.app/bin/matlab
The path /Applications/MATLAB_R2018a.app
is a bundle, not an executable. The MacOS UI knows what to do with it, but from a command line it just looks like a directory. I bet VS Code sees it like a directory as well.
Upvotes: 2