flagParser

Parse varargin for flags

https://github.com/YarmoM/flagParser

You are now following this Submission

`[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.

Cite As

Yarmo Mackenbach (2026). flagParser (https://github.com/YarmoM/flagParser), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.1

Fixed code section in README

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.