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

1 visualización (últimos 30 días)
I need to create an app that once the button is clicked will open another app that displays the date and time

Respuestas (1)

Benjamin Kraus
Benjamin Kraus el 22 de Feb. de 2022
Editada: Benjamin Kraus el 22 de Feb. de 2022
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 comentarios
Benjamin Kraus
Benjamin Kraus el 22 de Feb. de 2022
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');

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by