How can I make an application on matlab that should display notification on app designer?
Ältere Kommentare anzeigen
I want the devoloper to make a system where he can just type in a text and all the people who are using the app and get notified.
Antworten (1)
Tejas
am 27 Feb. 2025
0 Stimmen
Hello Adithya,
To share a message with several users of the app, the 'Database Toolbox' can be used. Here are the steps to achieve the desired workflow:
- First, add the message that needs to be sent out into the database. For help with creating a database, writing to it, and reading from it, refer to this documentation: https://www.mathworks.com/help/database/ug/access-relational-database-data-in-matlab.html .
- Next, use the 'startupFcn' callback to retrieve the message from the database every time the app launches. More information about this callback can be found in this documentation: https://www.mathworks.com/help/matlab/creating_guis/app-designer-startup-function.html .
- The message can then be loaded into a variable and displayed using a label, which will serve as a notification for app users.
Kategorien
Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!