UITable in App Designer - Inserting text into specific cell

15 ビュー (過去 30 日間)
Michael Svejcar
Michael Svejcar 2021 年 6 月 26 日
コメント済み: Darshit Simejia 2021 年 7 月 1 日
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 件のコメント
Mario Malic
Mario Malic 2021 年 6 月 27 日
try with curly braces instead.
Darshit Simejia
Darshit Simejia 2021 年 7 月 1 日
[]

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

回答 (1 件)

Madhav Thakker
Madhav Thakker 2021 年 7 月 1 日
Hi Michael,
Use curly braces for changing value inside a table.
Hope this helps.

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by