FUNCTION REFERENCE
addParamValue
Add a name-value parameter to an inputParser (older name of addParameter).
Add a name-value parameter to an inputParser (older name of addParameter).
Syntax
addParamValue(p, name, default)Syntax
addParamValue(p, name, default, validator)Behaves like addParameter.
Example
p = inputParser; addParamValue(p, 'Mode', 'fast'); parse(p, 'mode', 'slow'); p.Results.Mode % slowDifferences from MATLAB: MATLAB's which does not find addParamValue; MatRust lists it as a function.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.