program to get the user to enter the values
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Davide Ferraro
am 24 Feb. 2011
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 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Dialog Boxes finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!