Animate display of data App Designer

조회 수: 3 (최근 30일)
DARLINGTON ETAJE
DARLINGTON ETAJE 2021년 7월 19일
댓글: DARLINGTON ETAJE 2021년 7월 27일
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에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by