program to get the user to enter the values
1 回表示 (過去 30 日間)
古いコメントを表示
function y=mx+c
how can i write a program to get the user to enter the values for x and c and display the result for y
0 件のコメント
採用された回答
Davide Ferraro
2011 年 2 月 24 日
If you are expecting a command line input you can use the INPUT command:
A quick and nice graphic way is to use the function INPUTDLG:
2 件のコメント
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Dialog Boxes についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!