![]() |
如何从MATLAB中的控制台读取?
如何从MATLAB控制台(命令窗口)读取字符串或字符?
[B]回答:[/B] 请参阅[URL="http://www.mathworks.com/help/techdoc/ref/input.html"]请求输入[/URL]以获取完整参考 reply = input('Do you want more? Y/N [Y]: ', 's'); if isempty(reply) reply = 'Y'; end [url=https://stackoverflow.com/questions/3768553]更多&回答...[/url] |
所有时间均为北京时间。现在的时间是 23:21。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.