Demo: Creating a MATLAB App

preview_player
Показать описание
This is an introduction to making MATLAB applications (apps). These are interactive apps that let you get instantaneous feedback when studying complex systems.

The overview is as follows:
1. (Optional) Start with a script that does a simple calculation and
plotting.
a. You don't have to do this, but it's wise to make sure that you
have a good workflow before your integrate it with an app.
2. Make a new MATLAB App (also known as a graphical user interface,
or GUI).
3. Add UI elements (axes, sliders, edit fields, etc.)
4. Add a function to the app that serves as a calculational
engine. This is generally an adaptation of your
previously-developed and previously-tested workflow from step 1.
5. Add a callback for each interactive element
6. Each callback should invoke the calculational engine
a. The calculational engine must extract values from the UI
elements using the syntax app.SomeUIElement.Value

Additionally, if there are other variables you want to pass back and
forth to different app elements, you can embed these in the app
properties (not discussed in this video). This is like having access
to a global variable.

Related videos:
Рекомендации по теме
Комментарии
Автор

Thank You very much Doctor Bear. It was very helpful to start my app

abduossaid