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!