B=UIGETIOI (Y,...) displays vector Y.
Click button "Select" to select parts of Y using the mouse. Click "Select" again or press the Enter key to select another interval.
When done selecting, button "OK" closes the window and UIGETIOI returns vector B corresponding to Y with values (true/false) indicating selection.
Additional buttons are "Undo", "Redo", "Zoom", "Pan", which are self-explanatory, and "Cancel". "Cancel" closes the window and returns an empty array ().
UIGETIOI accepts various optional parameter-value pairs to control display style and memory management. See "help uigetioi" for details.
Duijnhouwer (2020). uigetioi (https://www.mathworks.com/matlabcentral/fileexchange/69391-uigetioi), MATLAB Central File Exchange. Retrieved .
Updated image and help text
Fixed crash that occurred when mkzip is not on the path. Updated help section.
Added name,value pairs 'position' (default: [260 500 985 350]) and 'center' (default: true) to scale and position the window
Enter key now finishes a selection and starts a new one, ideal for selecting multiple regions quickly.
Renamed Close button to OK. Added a Cancel button that, like OK, closes the UI but returns an empty array (), not a logical array with elements corresponding to the input array like OK does.