poster
2019-12-10, 20:48
如何从MATLAB控制台(命令窗口)读取字符串或字符?
回答:
请参阅请求输入 (http://www.mathworks.com/help/techdoc/ref/input.html)以获取完整参考
reply = input('Do you want more? Y/N [Y]: ', 's'); if isempty(reply) reply = 'Y'; end
更多&回答... (https://stackoverflow.com/questions/3768553)
回答:
请参阅请求输入 (http://www.mathworks.com/help/techdoc/ref/input.html)以获取完整参考
reply = input('Do you want more? Y/N [Y]: ', 's'); if isempty(reply) reply = 'Y'; end
更多&回答... (https://stackoverflow.com/questions/3768553)