MATLAB: Is there a way to open another .fig file (ex. an onscreen keyboard) when clicking into an edit text box

figguidematlab gui

-I am doing a project using matlab GUI and it has to be 100% touchscreen. In order to edit the textbox's throughout the UI i need a way to open the keyboard i made in matlab when the user clicks into the edit text box.
-Thanks

Best Answer

Yes, if the uicontrol('style', 'edit') has a ButtonDownFcn and the user right clicks on the control then that callback will be invoked. Alternately, if the 'Enable' property of the uicontrol is set to 'off' or 'disable' then the callback will be invoked for any click. You could probably then enable to control from the callback.
Related Question