Cell array of answers from user input

1 Ansicht (letzte 30 Tage)
Marnie
Marnie am 15 Apr. 2015
Beantwortet: Star Strider am 15 Apr. 2015
What function would be most suitable to return a cell array made of answers from user input?

Akzeptierte Antwort

Star Strider
Star Strider am 15 Apr. 2015
My choice would be inputdlg or one of its friends. It returns a cell array of strings of user input.
Example:
userinput = inputdlg({'A = ', 'B = '}, 'Input');

Weitere Antworten (0)

Kategorien

Mehr zu Cell Arrays 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