mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
215 stars 13 forks source link

About input on vscode termiel #114

Closed Cans518 closed 3 months ago

Cans518 commented 3 months ago

I have a code like this

t_start = input('please input the start time: ');
t_end = input('please input the end time: ');
t_step = input('please input the step: ');

It work on MATALB Desktop, the programe can read what i input and print the string on termiel. but when i run it in vscode nothing is print to termiel and the programe is stop on first line.(have no another info) the only thing i can do is ctrl + c i do know it's a bug or not support. if it's my problem i want to konw how to fix it. thanks

philipb314 commented 3 months ago

Thanks for the feedback! As of right now the "input" command is not supported by the extension. This is definitely something we will consider including in a future release.

Cans518 commented 3 months ago

thanks