How do I make an app that opens another app that displays the current date and time

조회 수: 1 (최근 30일)
I need to create an app that once the button is clicked will open another app that displays the date and time

답변 (1개)

Benjamin Kraus
Benjamin Kraus 2022년 2월 22일
편집: Benjamin Kraus 2022년 2월 22일
When you say "app", are you talking about App Designer?
Regardless, most apps (either programmatic or created with App Designer) have a single function you can call to create an instance of that app. All you need to do is set up a callback on the button in one app to call that command for another app.
Or is your question about how to get an app to display the current date and time?
  댓글 수: 4
Benjamin Kraus
Benjamin Kraus 2022년 2월 22일
Does it need to be an app, or does uiconfirm do what you need?
fig = uifigure;
uiconfirm(fig,"Your log-in time is: " + string(datetime),'Logged-In', ...
'Options',{'OK'},'Icon','success');

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by