필터 지우기
필터 지우기

stopwatch

조회 수: 1 (최근 30일)
Modestas Sekreckis
Modestas Sekreckis 2011년 4월 27일
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

채택된 답변

Nitin
Nitin 2011년 4월 27일
tic toc :)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by