Animate display of data App Designer
5 次查看(过去 30 天)
显示 更早的评论
Hi Everyone, thanks for your support the last couple of weeks. I am grateful. Now, I have one basic problem but I don't even know where to start. I want display this variable on an edit number field on app designer. I want to show the numbers one after the other...one row at a time...please how do it do it....you know the way we do animated line...how can that be done to display the first row then slowly replay the first row with the second row.
Ed=[1;5;3;5;2;4;5;5;6;3;20;14;32;4;5;2;4;23;22;45;45;65];
0 个评论
采纳的回答
Prabhan Purwar
2021-7-27
Hi,
Kindly have a look at the following example code:
Ed=[1;5;3;5;2;4;5;5;6;3;20;14;32;4;5;2;4;23;22;45;45;65];
% Create figure and components.
fig = uifigure('Position',[100 100 266 270]);
txt = uieditfield(fig,'numeric','Position',[100 175 100 22]);
for i = 1:size(Ed,1)
txt.Value = Ed(i,1); %your value
pause(0.5)
end
The example illustrates the steps to display animated numbers sequentially using uieditfield.
Hope it helps!!
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Instrument Control Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!