You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The app creates an scroll bar with changing width using Axes and a rectangular ROI (as the scroll bar) in MATLAB app designer.
The app uses WindowButtonDown function in the figure to find if the scroll bar has been clicked. Then the app changes to WindowButtonMotion function in the figure to track the mouse movement. At the end, the apps use WindowButtonUp in the figure to stop the dragging.
There is a parameter in a the app that control the minimum length of the scroll bar which can be changed in the code.
Cite As
Peyman Mostafaei (2026). Scroll bar for MALTAB App Designer (https://uk.mathworks.com/matlabcentral/fileexchange/134117-scroll-bar-for-maltab-app-designer), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0 (44.5 KB)
MATLAB Release Compatibility
- Compatible with R2020a to R2023b
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
