UITable in App Designer - Inserting text into specific cell

9 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Downloads 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by