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

Contact us at files@mathworks.com