Cell array of answers from user input

7 views (last 30 days)
What function would be most suitable to return a cell array made of answers from user input?

Accepted Answer

Star Strider
Star Strider on 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');

More Answers (0)

Categories

Find more on Matrices and Arrays 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!