File Exchange

image thumbnail

process_varargin

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

0 Downloads

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.

Updates

1.3.0.0

left out an error check statement

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