8.2.59.71 table.resolveVarRef

Method: [ixVar, varNames] = resolveVarRef (obj, varRef)
Method: [ixVar, varNames] = resolveVarRef (obj, varRef, strictness)

Resolve a variable reference against this table.

A varRef is a numeric or char/cellstr indicator of which variables within obj are being referenced.

strictness controls what to do when the given variable references could not be resolved. It may be ’strict’ (the default) or ’lenient’.

Returns: ixVar - the indexes of the variables in obj varNames - a cellstr of the names of the variables in obj

Raises an error if any of the specified variables could not be resolved, unless strictness is ’lenient’, in which case it will return 0 for the index and ” for the name for each variable which could not be resolved.