MATLAB: R2017b Home: Missing uitree in appdesigner
appdesigneruitree
Hello,
I just updated to R2017b (Home, Win10). From the release note I understood that the appdesigner supports uitree now. But it's not available in the app designers component library.
Have I overlooked something?
Thomas
Best Answer
The support for theuitree in MATLAB R2017b is for programmatic creation of the object. The component may be added to the App Designer Component Library in a future release. You can see an example of creating theuitree programmatically on thedocumentation page. If you want to get an exact position, you can try adding a different component (perhaps auipanel) to the app and space it out how you like, then write down itsPosition in pixels to use for the createduitree.
I suggest using 'SelectionChangedFcn' callback. This is notified whenever a state button(zoom/pan) is clicked, and you can know which button is clicked. You can also write your custom MATLAB code in the callback associated.
Best Answer