フィルターのクリア

How to create a table?

4 ビュー (過去 30 日間)
Jon
Jon 2013 年 10 月 12 日
回答済み: ADRIANA FERREIRA 2018 年 9 月 27 日
I've read the Matlab tutorial for creating one, but it doesn't work for me. Do you need to make it as a script? Could you type a simple code for it to get me started?

採用された回答

Image Analyst
Image Analyst 2013 年 10 月 12 日
On the rare chance that you wanted a table data type instead of the uitable control for a GUI, you can read Loren's blog for demo code on the new "table" data type available starting with MATLAB Release 2013b: http://blogs.mathworks.com/loren/2013/09/10/introduction-to-the-new-matlab-data-types-in-r2013b/

その他の回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 10 月 12 日
f=figure
headers={'A','B','C'}
data=[1 2 3;4 5 6;7 8 9]
h = uitable(f,'Data',data, 'ColumnName',headers);
For more details
help uitable

ADRIANA FERREIRA
ADRIANA FERREIRA 2018 年 9 月 27 日
t = table; t.a = [1 2 3 4 5]'; t.b = [1 1 1 1 1]'; t.sum = t.a +t.b; disp(t);

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by