Filter löschen
Filter löschen

How to demonstrate analysis time in app designer window ?

6 Ansichten (letzte 30 Tage)
farzad
farzad am 25 Apr. 2020
Kommentiert: farzad am 2 Mai 2020
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 ?

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 25 Apr. 2020
Text edit field will be more suitable. See the attached app.
  31 Kommentare
Ameer Hamza
Ameer Hamza am 2 Mai 2020
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 am 2 Mai 2020
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))

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by