How to call multiple inputs for multiple variables.

13 views (last 30 days)
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?

Answers (2)

madhan ravi
madhan ravi on 29 Oct 2018

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

Categories

Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!