You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
(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 (2026). How to use AppDesigner tool .(Chapter 7.3) (https://uk.mathworks.com/matlabcentral/fileexchange/64106-how-to-use-appdesigner-tool-chapter-7-3), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Interactive diagrams for 2-nd order oscilator, see how damping factor change output (7.4)
General Information
- Version 1.3.0.0 (42.3 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux