Thread Subject: GUI - timer

Subject: GUI - timer

From: beda meda

Date: 18 Jun, 2009 12:13:01

Message: 1 of 1

Hi,
I call method from GUI (created through Guide) and from this method another two are called. I would like to add a timer to my GUI which would show how long every method lasts. I found how to use tic and toc but I don't know how can I get values of toc to my GUI. I mean something like

set(handles.text1,'String',num2str(time));

Because the main method is still running when I need value for the first method so I can't use toc as an output of main method. I hope someone can understand what I want:) If no just ask me I'll try to explain better:)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
gui beda meda 18 Jun, 2009 08:14:02
timer beda meda 18 Jun, 2009 08:14:02
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com