# MATLAB: How to freeze specific function with a view mode in a GUI

disable functionsfunctionsgui

I have created a GUI that I use plot data, select sections and process selections. Later I look at the processed data and notice occurrences that need further evaluation. I would like to be able to put my GUI into a view mode with the press of a button that disables a few functions, primarily the function that saves the processed data. Is there a way to write a function that disables other functions from use?

• set(AnAppropriateHandle, 'enable', 'off')
set(AnAppropriateHandle, 'enable', 'on')