MATLAB: How to select names from a matrix and put it in a table.

matrixtablewords

Hi, I have a matrix full of names and I want to know how can I create a table that displays numerical values and also the names in the matrix.

Best Answer

A table variable? Use the table() function.
A uitable spreadsheet control on your gui? Set the data property of your control to your cell array of strings.
handles.uitable1.Data = myCellArray;