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');
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!