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

2 次查看(过去 30 天)
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.

采纳的回答

Image Analyst
Image Analyst 2018-1-6
编辑:Image Analyst 2018-1-6
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;

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by