Unable to change label text via code
12 次查看(过去 30 天)
显示 更早的评论
Hello,
I have created several labels using app designer but whenever I try to change a label text within a callback of a button it gives me an error for the equal sign '='
app.label9.Text = 'Incorrect values';
7 个评论
Walter Roberson
2019-5-9
I believe that can happen if you have set text that is wider than the width the control has been set to.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!