Parse varargin for flags
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
`[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
- Version 1.0.1 (1.64 KB)
-
View License on GitHub
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.
