Animate display of data App Designer

4 views (last 30 days)
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];

Accepted Answer

Prabhan Purwar
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!!
  1 Comment
DARLINGTON ETAJE
DARLINGTON ETAJE on 27 Jul 2021
Prabhan Purwar, you are the best. In fact, you deserve an award. Thank you.

Sign in to comment.

More Answers (0)

Categories

Find more on Specifying Target for Graphics Output 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!