UITable in App Designer - Inserting text into specific cell

18 vues (au cours des 30 derniers jours)
Michael Svejcar
Michael Svejcar le 26 Juin 2021
Commenté : Darshit Simejia le 1 Juil 2021
Hello,
I have a problem that I can't insert char into a specific cell of UITable in App Designer (using indexing). I'm trying to do it like this:
app.UITable.Data(1,1) = 'test';
but I always get the error " Unable to perform assignment because the indices on the left side are not compatible with the size of the right side. ". I even tried using various different data types for this, but without luck.
Do you know where the problem might be?
  2 commentaires
Mario Malic
Mario Malic le 27 Juin 2021
try with curly braces instead.
Darshit Simejia
Darshit Simejia le 1 Juil 2021
[]

Connectez-vous pour commenter.

Réponses (1)

Madhav Thakker
Madhav Thakker le 1 Juil 2021
Hi Michael,
Use curly braces for changing value inside a table.
Hope this helps.

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by