how to display array on a static box gui?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by