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 Center および File ExchangeSoftware Development Tools についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by