How to use AppDesigner tool .(Chapter 7.3)
(Polski tekst na końcu)
This APP plots interactive diagram for cos(x) function. Slider changes the final value of x variable.
The purpose is to learn how to use AppDesigner tool .
The application implements the following scenario:
1. Reads the value set on the slider, that is, the app.Slider object.
2. Draw a graph in the app.UIAxes window
3. Displays the xMax value in the app.EditField pane, next to the slider.
4. When you enter the new xMax value into the app.EditField pane, it moves the slider and makes a new graph
5. Closes the program when you click Exit, ie an app.STOPButton
(po polsku / in Polish)
patrz podrozdzial 7.3. Przykład — interaktywny wykres cos(x)
Książka: "MATLAB i Simulink. Poradnik użytkownika". Wydanie IV
Autorzy: Bogumiła Mrozek, Zbigniew Mrozek
Wydawnictwo: Helion, 2017, helion.pl , sklep@helion.pl ISBN 978-83-246-5621-9,
Aplikacja realizuje następujący scenariusz:
1. Odczytuje wartość ustawioną na suwaku, czyli na obiekcie app.Slider.
2. Rysuje wykres w oknie app.UIAxes
3. Wyświetla wartość xMax w okienku app.EditField, obok suwaka.
4. Po wpisaniu nowej wartości xMax do okienka app.EditField przesuwa suwak i robi nowy wykres
5. Zamyka program po kliknięciu przycisku Exit czyli app.STOPButton
Cite As
Bogumila & Zbigniew MROZEK (2022).How to use AppDesigner tool .(Chapter 7.3)(//www.tatmou.com/matlabcentral/fileexchange/64106-how-to-use-appdesigner-tool-chapter-7-3), MATLAB Central File Exchange. Retrieved.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by:交互图佛r 2-nd order oscilator, see how damping factor change output (7.4)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.