program to get the user to enter the values
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Davide Ferraro
il 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 Commenti
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Dialog Boxes in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!