Effacer les filtres
Effacer les filtres

How to demonstrate analysis time in app designer window ?

6 vues (au cours des 30 derniers jours)
farzad
farzad le 25 Avr 2020
Commenté : farzad le 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 ?

Réponse acceptée

Ameer Hamza
Ameer Hamza le 25 Avr 2020
Text edit field will be more suitable. See the attached app.
  31 commentaires
Ameer Hamza
Ameer Hamza le 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 le 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))

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by