Documentation

iptgetpref

Get values of Image Processing Toolbox preferences

Syntax

prefs = iptgetpref
value = iptgetpref(prefname)

Description

prefs = iptgetprefreturns a structure containing all the Image Processing Toolbox™ preferences with their current values. Each field in the structure has the name of an Image Processing Toolbox preference.

value = iptgetpref(prefname)returns the value of the Image Processing Toolbox preference specified by the character vectorprefname. Seeiptprefsfor a complete list of valid preference names or access the Image Processing preferences dialog box from theFilemenu in the MATLAB®desktop. Preference names are not case sensitive and can be abbreviated.

Examples

value = iptgetpref('ImshowAxesVisible') value = off

Introduced before R2006a

Was this topic helpful?