uicontrol('style','slider') in new App Design (uifigure)
조회 수: 29 (최근 30일)
이전 댓글 표시
Dear Community,
I want to migrate an old-style GUI containing many uicontrols to the new app design based on uifigure.
How can I replace scrollbar-like 'uicontrol('style', 'slider')' with an object that has similar properties and may consist of a uislider and two single step buttons? Has anyone already developed a class object that uses all the properties of uislider, such as the overall position of the object and the single step button feature at both ends of the uislider?
Are alternatives available?
댓글 수: 0
답변 (1개)
Taylor
2025년 11월 13일 20:25
Have you tried the GUIDE to App Designer Migration Tool? There is also a slider/spinner component in the Widgets Toolbox Add-On that is pretty close to what you're describing.
댓글 수: 4
Taylor
2025년 11월 19일 22:14
You should look into creating your own custom component. You can combine one uislider and two uispinner components in your own custom component that does exactly what you want.
When you compile your "matVis" application, if you include the files for any components used in the Widgets Toolbox, your end user will not need to install the Widgets Toolbox.
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

