MATLAB: Cell array of answers from user input arraycellfunctioninput What function would be most suitable to return a cell array made of answers from user input? Best 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'); Related SolutionsMATLAB: User definition of cell contents Tom, you could use a structure array. As an example: all_atom(1).name = 'Eu3+'; all_atom(1).type = 'former'; % is it really a former, I am just guessing all_atom(2).name = 'Na1+'; all_atom(2).type = 'dopant';Alternatively, use tables. MATLAB: Combine a cell array of cell arrays to a single cell array NewCellArray = vertcat( ExistingCellArray{:} ); Related QuestionInserting variable answers in cellsDelete empty [] {1×7 cell} {1×2 cell}Please answerManipulation of a cell array-
Best Answer