get_option edit page

extract option from option list

In case the option occurs more than one time in the option list the first value that meets the type condition is returned.

Syntax

value = get_option(option_list,option_name,default_option,option_type)

Input

option_list Cell Array
option_name String
option_default default value
option_type class name or list of class names

Output

value option value

See also

check_option set_option delete_option