How ask data to the user?
显示 更早的评论
Hi all. I'm very new to matlab programming. I need to ask data to the user. How can I do?
回答(1 个)
KSSV
2019-5-27
Read about input
prompt = 'Enter a value: ';
x = input(prompt)
3 个评论
Martha Spadaccino
2019-5-27
KSSV
2019-5-27
prompt = 'Enter a string: ','s';
x = input(prompt)
Martha Spadaccino
2019-5-27
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!