Evaluate an expression against table’s variables.
Evaluates the M-code expression expr in a workspace where all of obj’s variables have been assigned to workspace variables.
expr is a charvec containing an Octave expression.
As an implementation detail, the workspace will also contain some variables that are prefixed and suffixed with "__". So try to avoid those in your table variable names.
Returns the result of the evaluation.
[s,p,sp] = table_examples.SpDb tmp = join (sp, p); shipment_weight = evalWithVars (tmp, "Qty .* Weight")