Azzera filtri
Azzera filtri

How to demonstrate analysis time in app designer window ?

6 visualizzazioni (ultimi 30 giorni)
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 ?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by