How to call multiple inputs for multiple variables.

조회 수: 13 (최근 30일)
James Dimmette
James Dimmette 2018년 10월 29일
답변: Star Strider 2018년 10월 29일
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?

답변 (2개)

madhan ravi
madhan ravi 2018년 10월 29일

Star Strider
Star Strider 2018년 10월 29일
My favorite is the inputdlg (link) function.

카테고리

Help CenterFile Exchange에서 Software Development Tools에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by