Argument parsing utilities
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
Useful for assigning defaults to functions that use varargin or structs of input parameters (alternative to inputParser).
See examples (and latest updates) on the github repository:
https://github.com/nvictus/ArgUtils
- Use ArgUtils.assignVars() to assign variables sequentially
- Use ArgUtils.assignArgs() to assign named variables: it works on either struct input or cell-array input containing a sequence of values followed by keyword arguments (name-value pairs) in any order.
Keywords are matched using MATLAB's string validator, so matching is case-insensitive and abbreviated keywords are acceptable as long as they can be matched unambiguously. There are also options to specify:
- required input parameters
- prefixes on keywords to prevent name collisions with string values
Zitieren als
Nezar (2026). ArgUtils (https://github.com/nvictus/ArgUtils), GitHub. Abgerufen .
Quellenangaben
Inspiriert: parseParameters
Allgemeine Informationen
- Version 1.5.0.0 (8,89 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.5.0.0 | Connected to github |
||
| 1.4.0.0 | name on license |
||
| 1.2.0.0 | version 1.1 - fixed minor bug with prefixes, moved nonpublic functions to private folder |
||
| 1.1.0.0 | version 1.0 - stable |
||
| 1.0.0.0 |
