apommel / vscode-matlab-interactive-terminal

VS Code extension allowing for an interactive Matlab terminal and launching of scripts through Matlab Engine for Python
MIT License
46 stars 10 forks source link

rerunning file produces old output without changes #60

Open ashuthosh-bharadwaj opened 1 year ago

ashuthosh-bharadwaj commented 1 year ago

I am working on windows 11 + Visual studio code 1.75.1, Python 3.9.9 and Matlab R2021b Update 4. I have been using this extension for quite some time and the only issue I face is the following:

I run a Matlab file, say "file.m", and realise the code is erroneous and correct it and save the code. I rerun it, but the same erroneous output appears again (corresponding to the old code). I rerun "file.m" and this time the output is in accordance with the new saved code that has been debugged.

The only issue is that there is a lag between the computed output and rerunning the saved file.

wulinan123 commented 12 months ago

I have the same problem as you. Have you found a solution?