Closed KennethNye closed 1 year ago
You may need to upgrade your VSCode.
Thanks. Now the extension is installed. However, when I try to run the current cell or run the current script. All lines are sent directly to the PowerShell terminal rather than the Matlab command window. I confirm that a Matlab command window does pop up.
In windows, you need to install the matlab python engine (link), and check the pybackend
option in the settings of the extension.
Actually, I had it installed. My bad, I forgot to tick it in setting. Btw, is there a way to run the code line by line? Also, I did not see any variable showing up when I click on "show variables".
Press shift + enter
to run the current line or the selected lines.
As for the variable scope, unfortunately, this is an unknown bug. In my windows PC, it just works, but there also some users reported that it didn't work in their PCs. You may just type workspace
in the terminal to use the native variable scope.
I apologize for not being helpful with this issue.
Nope. Thanks for your timely reply.