How to call multiple inputs for multiple variables.

14 visualizzazioni (ultimi 30 giorni)
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?

Risposte (2)

madhan ravi
madhan ravi il 29 Ott 2018

Star Strider
Star Strider il 29 Ott 2018
My favorite is the inputdlg (link) function.

Categorie

Scopri di più su Software Development Tools 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!

Translated by