shinyypig/matlab-in-vscode

Need to run twice when using "Run current MATLAB file"

Closed this issue · 3 comments

I wonder if anyone has encountered this bug that if I make some modifications on my code and then click "Run current MATLAB file", it does not run the newest code and another run is needed.

Any help would be truly appreciated!

It is a bug related to python matlab engine, as previously discussed in #20.

Unfortunately, there is no action I can take to resolve it.

Many thanks! You mentioned:

经过验证,是python matlab engine 的问题,并且插件不使用 matlab pybackend 的时候,是正常工作的。
and I indeed use thepython matlab engine

image
so is it possible to avoid this bug by simply not clicking Matlab-in-vscode:Matlab Pybackend?

If you are using MacOS or Linux, yes.