function n = check_name(vartan,varname) n = strmatch(varname,vartan,'exact');