Documentation

iptsetpref

Set Image Processing Toolbox preferences or display valid values

Syntax

iptsetpref(prefname)
iptsetpref(prefname,value)

Description

iptsetpref(prefname) displays the valid values for the Image Processing Toolbox™ preference specified by prefname.

iptsetpref(prefname,value) sets the Image Processing Toolbox preference specified by the string prefname to the value specified by value. The setting persists until you change it. You can also use the Image Processing Preferences dialog box to set the preferences. To access the dialog, select Preferences from the File menu in the MATLAB® desktop. For more information about available preferences, see iptprefs.

Examples

iptsetpref('ImshowBorder','tight')
Was this topic helpful?