Skip to content

YarmoM/flagParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

flagParser

Parse varargin for flags

Usage

[S args] = flagParser(args, flags) parses the cell array args, checking for any flags provided in the cell array flags, then returns the args without the flags so they can be processed in inputParser and the struct S, containing all the booleans specifying the absence or presence of the flags in the args.

Please provide the flags without the leading dash.

About

Parse varargin for flags

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages