find_option edit page

find the latest position of an option in an option_list

Syntax

pos = find_option(option_list,option,type)

Input

option_list Cell Array
options String or Cell Array
type list of allowed option classes

Output

pos position of the option, zero if not found