Animate display of data App Designer
5 views (last 30 days)
Show older comments
DARLINGTON ETAJE
on 19 Jul 2021
Commented: DARLINGTON ETAJE
on 27 Jul 2021
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 Comments
Accepted Answer
Prabhan Purwar
on 27 Jul 2021
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!!
More Answers (0)
See Also
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!