How i add the button for the Time axis to user can change time in the given MATLAB App designer
조회 수: 1 (최근 30일)
이전 댓글 표시
How i add the button for the Time axis to user can change time in the given MATLAB App designer
댓글 수: 0
답변 (1개)
Taylor
2024년 1월 23일
The property you want to change is app.UIAxes.XLim. You could implement this with a ButtonPressedFcn callback (like you have done with your "Go!" button, or you could use the ValueChangedFcn callback for a Numeric Edit Field to update the axis as the user inputs new values.
댓글 수: 1
Taylor
2024년 1월 24일
Yes, that is what I'm describing with the second option. I've attached a modified version of your app that shows how this is implemented. Is this what you're looking for?
참고 항목
카테고리
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!