Display Table in messagebox

3 ビュー (過去 30 日間)
Muhammed Kanbay
Muhammed Kanbay 2020 年 11 月 12 日
回答済み: Walter Roberson 2020 年 11 月 12 日
rand('seed',7500);
e1=randn(1000,1)*sqrt(1.2);
E=table(e1);
E(1:5,:);
Hi , How can I show the table I created in the message box?

回答 (1 件)

Walter Roberson
Walter Roberson 2020 年 11 月 12 日
You cannot display a table object in a message box. See https://www.mathworks.com/matlabcentral/answers/645828-how-to-put-table-in-listdlg#answer_542558 except that since you are dealing with numeric values you will need to convert to string object or cell array of character vector, such as passing in
string(E.e1)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by