This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

iptgetpref

Get values of Image Processing Toolbox preferences

Syntax

prefs = iptgetpref
value = iptgetpref(prefname)

Description

prefs = iptgetpref returns a structure containing all of the Image Processing Toolbox™ preferences with their current values.

You can also use the Image Processing Toolbox Preferences dialog box to get the preferences. To access the dialog box, click Preferences on the Home tab in the MATLAB® desktop, or call the iptprefs function.

example

value = iptgetpref(prefname) returns the value of the Image Processing Toolbox preference specified by prefname.

Examples

Get Value of Single Image Processing Toolbox Preference

Get the value of the 'ImshowAxesVisible' preference.

value = iptgetpref('ImshowAxesVisible')
value =

off

Input Arguments

collapse all

Name of an Image Processing Toolbox preference, specified as one of the following.

  • 'ImshowBorder'

  • 'ImshowAxesVisible'

  • 'ImshowInitialMagnification'

  • 'ImtoolStartWithOverview'

  • 'ImtoolInitialMagnification'

  • 'UseIPPL'

  • 'VolumeViewerUseHardware'

Data Types: char | string

Output Arguments

collapse all

Value of all Image Processing Toolbox preferences, returned as a structure. Each field in the structure has the name of an Image Processing Toolbox preference.

Data Types: struct

Value of the Image Processing Toolbox preference prefname, returned as a character vector, numeric scalar, or logical scalar.

Data Types: char | double | logical

Tips

  • You can also use the Image Processing Toolbox Preferences dialog box to get the preferences. To access the dialog box, click Preferences on the Home tab in the MATLAB desktop, or call the iptprefs function.

Introduced before R2006a