MATLAB: How to extract value property pairs

functionparameterpropertyvalue

Are there any built in function for checking given input parameters by name-value pairs? Lots of standard MATLAB function use this syntax: function(…,'prop_name',value,'second_name',value2, …); So, are the any convenient way to extract parameters?

Best Answer

Take a look at inputParser.