How to use AppDesigner tool .(Chapter 7.3)

Using AppDesigner tool .to drow a plot as described in MATLAB & Simulink book by Mrozek
660 Downloads
Updated 1 Oct 2017

View License

(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 (2024). How to use AppDesigner tool .(Chapter 7.3) (https://www.mathworks.com/matlabcentral/fileexchange/64106-how-to-use-appdesigner-tool-chapter-7-3), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Develop Apps Using App Designer in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

.

1.2.0.0

Title and tags updated. Test for MATLAB R2017b passed.

1.1.0.0

Chapter 7.3 added

1.0.0.0