File Exchange

image thumbnail


version (1.95 KB) by christie harper
utility to make setting and changing default values in a script easier


Updated 21 Jul 2011

View License

process_varargin is a simple script that allows the user to create a set of default values for attributes in a script then using varargin override those values.

Comments and Ratings (2)

Makes it easy to support optional, named arguments.

Could use with a better code example.

I prefer my procArgs method (also on file exchange) for setting the default values, but clearly it comes down to taste.


left out an error check statement

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux