how to display array on a static box gui?
2 views (last 30 days)
Show older comments
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 Comment
Geoff Hayes
on 18 Mar 2020
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.
Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!