필터 지우기
필터 지우기

How to demonstrate analysis time in app designer window ?

조회 수: 6 (최근 30일)
farzad
farzad 2020년 4월 25일
댓글: farzad 2020년 5월 2일
Hi all
I have tic;toc in my code. How can I display the analysis time in an edit field as : hrs:minutes:seconds ?
should it be numeric or text edit field ?

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 4월 25일
Text edit field will be more suitable. See the attached app.
  댓글 수: 31
Ameer Hamza
Ameer Hamza 2020년 5월 2일
Without inspecting the actual app, there is not much that can be done. As you have also observed that it works in a standalone app. So there must be some other thing in that app that is preventing that.
farzad
farzad 2020년 5월 2일
All I have after finishing the loop :
te=toc
waitbar(1, h1, 'msg')
close all
h2 = waitbar(1,'msg');
app.EditField_7.Value = char(duration(0,0,te))

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by