![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1643096/image.png)
After having created a MATLAB App of a Simulink Model, how do change the parameter edit fields into sliders?
조회 수: 3 (최근 30일)
이전 댓글 표시
I have created a Matlab App of a Simulink Model. When I run the App, you can see that you can change the parameter using a edit field. It looks like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1643086/image.png)
However, I want to use a slider insted that goes from 0 - 100. In the Design View, I can not see where the parameter edit field is and it looks like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1643091/image.png)
Is there a simple way to change the edit field into a slider that changes the parameter during simulation? Or is there anything I can do in the Simulink model so that the parameter will automatically be edited via a slider when the App created?
댓글 수: 0
답변 (1개)
Balavignesh
2024년 3월 15일
Hi Arif,
In MATLAB App Designer, you can adjust the slider limits by accessing the Component Browser menu, located on the right side of the app interface. This slider can then be linked to a parameter in your Simulink model that you wish to adjust.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1643096/image.png)
Hope this helps!
Balavignesh.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!