Cell array of answers from user input

What function would be most suitable to return a cell array made of answers from user input?

 Accepted Answer

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

Asked:

on 15 Apr 2015

Answered:

on 15 Apr 2015

Community Treasure Hunt

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

Start Hunting!