필터 지우기
필터 지우기

Is there a way to make a reminder?

조회 수: 4 (최근 30일)
André Magrinho
André Magrinho 2016년 1월 23일
답변: Walter Roberson 2016년 1월 23일
I have an app that's basically a clock but also as a timer function and i would like to have a reminder function where the user inputs the time or date that he/she want the reminder to appear and what he want to be reminded of (i.e ' Go see if the food's ready ' ), and when that time came , it would appear a pop up message ( using msgbox ) on matlab. Can someone give me some help ? I tried the e = etime(t2,t1) but it didn't help much because i had a while that would make etime run until e<=0 but it would pass through 0 and the while cycle wouldn't stop. HELP!!

답변 (1개)

Walter Roberson
Walter Roberson 2016년 1월 23일
Use timer() with a StartDelay set to the difference in clock time between now and the time desired.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by