program to get the user to enter the values
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Davide Ferraro
el 24 de Feb. de 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 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Dialog Boxes en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!