How to call multiple inputs for multiple variables.

14 Ansichten (letzte 30 Tage)
James Dimmette
James Dimmette am 29 Okt. 2018
Beantwortet: Star Strider am 29 Okt. 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?

Antworten (2)

madhan ravi
madhan ravi am 29 Okt. 2018

Star Strider
Star Strider am 29 Okt. 2018
My favorite is the inputdlg (link) function.

Kategorien

Mehr zu Software Development Tools 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!

Translated by