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];

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by