How to demonstrate analysis time in app designer window ?

2 ビュー (過去 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 Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by