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

Terminal is wrong when using input function in matlab files. #38

Open yunus-sun opened 3 years ago

yunus-sun commented 3 years ago

When running the matlab file containing the input function, the value of the parameter cannot be input in the terminal, and it will be stuck. For example, N = input('Please input your number:\n');, you can't enter the number in the terminal, and the terminal is stuck. Can someone help me? Thanks!

apommel commented 3 years ago

It would be possible to fix this in the REPL by adding custom rules, but in the case of script execution there's not much I can do I'm afraid, it is simply not supported by the Python engine.

DazeCake commented 2 years ago

This problem also seems to be triggered when using pause It cant be fix?This really makes me sad. :(

mengchaoheng commented 2 years ago

the same problem!!!