release(addObj);
addObj.NumInputs = 2;
addObj(2,3)
ans =
5
release(addObj);
addObj.NumInputs = 3;
addObj(2,3,4)
ans =
9
See Also
getNumInputsImpl | getNumOutputsImpl
Related Examples
- “Validate Property and Input Values” on page 34-22
- “Define Basic System Objects” on page 34-15
- “Using ~ as an Input Argument in Method Definitions” on page 34-66
See Also