how to display array on a static box gui?

1 回表示 (過去 30 日間)
Siti Khadijah Norzafri
Siti Khadijah Norzafri 2020 年 3 月 18 日
コメント済み: Geoff Hayes 2020 年 3 月 18 日
I'm trying to display the array on my command window to my static text but when I use
Data2=int2str(Data);
set(handles.DataTable_CellEdit,'string',sprintf('%s\n',Data2));
the numbers will display but only one line and it displays a different values on the static text.
I want it to display all the answer from my arrray.
  1 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 3 月 18 日
Siti - please clarify what you mean by the numbers will display but only one line. What are the dimensions of your Data array? What is being displayed and what do you want to see displayed? Please provide some sample data so that we can get an idea of how best to help you.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by