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

2 views (last 30 days)
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.

Accepted Answer

Image Analyst
Image Analyst on 6 Jan 2018
Edited: Image Analyst on 6 Jan 2018
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;

More Answers (0)

Categories

Find more on Tables 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!