フィルターのクリア

stopwatch

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by