Closed yuchensun97 closed 8 months ago
Thank you for reaching out with this issue!
I believe you are missing a leading /
in your "Install Path" setting. I think the value returned by matlabroot
in MATLAB should be /Applications/MATLAB_R2023b.app
.
Does making this change enable MATLAB to launch?
Hi @yuchensun97, I wanted to check back and see if the above suggestion resolved the issue you were running into?
/Applications/MATLAB_R2023b.app
Hi. Thank you. It works now.
Hi @yuchensun97, I wanted to check back and see if the above suggestion resolved the issue you were running into?
Hi @dklilley , now the VS Code can connect to MATLAB, but the MATLAB itself failed to launch.
Can you provide a bit more info? Are you seeing any errors in VS Code? Does the status bar item go back to saying "MATLAB: Not Connected" or does it get stuck at "MATLAB: Establishing Connection"?
Can you provide a bit more info? Are you seeing any errors in VS Code? Does the status bar item go back to saying "MATLAB: Not Connected" or does it get stuck at "MATLAB: Establishing Connection"?
Hi. It's MATLAB: CONNECTED
, but at the same time, the application MATLAB itself failed to launch.
Remaining issue seems the same as https://github.com/mathworks/MATLAB-extension-for-vscode/issues/9?
I believe @versionbayjc is correct. If VS Code is stating MATLAB: Connected
, then MATLAB should have launched through the extension. This instance of MATLAB is not visible.
On Mac, there is currently a known issue (#9) which prevents launching a separate instance of MATLAB (i.e. via the dock) when MATLAB is connected in VS Code.
Closing as a duplicate of #9, based on the previous comment.
Describe the bug MATLAB was unable to start. If MATLAB is installed, confirm that the MATLAB executable path setting is properly configured
To Reproduce Steps to reproduce the behavior:
Expected behavior VS Code should connect to MATLAB.
Screenshot
Useful Information
Additional context matlabroot:
Applications/MATLAB_R2023b.app
output log: