How to call multiple inputs for multiple variables.

13 vues (au cours des 30 derniers jours)
James Dimmette
James Dimmette le 29 Oct 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?

Réponses (2)

madhan ravi
madhan ravi le 29 Oct 2018

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

Catégories

En savoir plus sur Software Development Tools dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by