How to call multiple inputs for multiple variables.

13 visualizaciones (últimos 30 días)
James Dimmette
James Dimmette el 29 de Oct. de 2018
Respondida: Star Strider el 29 de Oct. de 2018
I'm writing a simulation for an aircraft that requires initial values for x, y, and z. Code is currently x = input('initial x value); y = input('initial y value); z = input('initial z value);
How do I input all of these into the command window at once?

Respuestas (2)

madhan ravi
madhan ravi el 29 de Oct. de 2018

Star Strider
Star Strider el 29 de Oct. de 2018
My favorite is the inputdlg (link) function.

Categorías

Más información sobre Software Development Tools en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by