How do I make an app that opens another app that displays the current date and time
2 次查看(过去 30 天)
显示 更早的评论
I need to create an app that once the button is clicked will open another app that displays the date and time
0 个评论
回答(1 个)
Benjamin Kraus
2022-2-22
编辑:Benjamin Kraus
2022-2-22
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
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 Center 和 File 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!