Highlights from
ArgUtils

  • ArgUtils.assignArgs( defa...
    ASSIGNARGS Assign input and default values to named target variables
  • ArgUtils.assignVars( defa...
    ASSIGNVARS Assign input and default values to a sequence of target variables
  • ArgUtils.tostruct(varargin)
    Because MATLAB's struct API is a disaster
  • ArgUtils.unstruct(s)
    Unpack a struct into a cell-array of name-value pairs.
  • nameDoesMatch(name, list)
  • startsWith(str, prefix)
  • stripPrefix(str, prefix)
  • test()
    string matching is case-insensitive, allows abbreviation
  • updateFieldValues(default...
    'assigned' is a reference to a java hash set
  • ArgUtils.ArgUtils
  • View all files

ArgUtils

by

 

12 Jun 2013 (Updated )

Argument parsing utilities

All files for ArgUtils
/nvictus-ArgUtils-894520c/+ArgUtils/ArgUtils.m
/nvictus-ArgUtils-894520c/+ArgUtils/assignArgs.m
/nvictus-ArgUtils-894520c/+ArgUtils/assignVars.m
/nvictus-ArgUtils-894520c/+ArgUtils/private/nameDoesMatch.m
/nvictus-ArgUtils-894520c/+ArgUtils/private/startsWith.m
/nvictus-ArgUtils-894520c/+ArgUtils/private/stripPrefix.m
/nvictus-ArgUtils-894520c/+ArgUtils/private/updateFieldValues.m
/nvictus-ArgUtils-894520c/+ArgUtils/tostruct.m
/nvictus-ArgUtils-894520c/+ArgUtils/unstruct.m
/nvictus-ArgUtils-894520c/CHANGES.txt
/nvictus-ArgUtils-894520c/LICENSE.txt
/nvictus-ArgUtils-894520c/README.md
/nvictus-ArgUtils-894520c/test.m

Contact us