You can set the visibility of a button to 'off' in MATLAB while still keeping it enabled for clicking. Here's an example code snippet:
main.m286 chars7 lines
This way, the button will not be visible on the GUI but can still be interacted with.
gistlibby LogSnag