vscode-matlab-interactive-terminal
vscode-matlab-interactive-terminal copied to clipboard
MatlabInterface.clear() send clear to a wrong shell on macOS 11
On VSCode 1.59.0 with v0.4.0, MatlabInterface.clear()
sent clear
to sh which does not have clear
in its $PATH
. This prevent the engine from starting.
Output from the terminal:
sh: clear: No such file or directory
sh: clear: No such file or directory
MATLAB Engine for Python exited prematurely.
Unable to launch Simple server: Unable to launch /Applications/MATLAB_R2021a.app/bin/matlab
because: Timed out reading transport byte from transport
File: "/Users/mys_721tx/foo.m"