Borrar filtros
Borrar filtros

stopwatch

2 visualizaciones (últimos 30 días)
Modestas Sekreckis
Modestas Sekreckis el 27 de Abr. de 2011
hi, I create something in GUI applications, and I have a button "START" when I click it implemented some type of calculations. I need a button "START" to activate the stopwatch. And when the calculations are complete, it is necessary to stop the stopwatch and shown the measured time.
function START_Callback(hObject, eventdata, handles)
ifpush=get(hObject,'Value');
if ifpush
%start stopwatch and calculation
end
%when finish calculation stop stopwatch, and shown time of stopwatch

Respuesta aceptada

Nitin
Nitin el 27 de Abr. de 2011
tic toc :)

Más respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by