how to display array on a static box gui?

1 vue (au cours des 30 derniers jours)
Siti Khadijah Norzafri
Siti Khadijah Norzafri le 18 Mar 2020
Commenté : Geoff Hayes le 18 Mar 2020
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 commentaire
Geoff Hayes
Geoff Hayes le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by