varargin2opt

Parse varargin cells to option structures

79 Downloads

Updated 14 Sep 2021

From GitHub

View License on GitHub

This function parses a content of a cell with `{key,value,...}` pairs (usually `varargin`) into an option with fields `opt.key = value`. It allows one to specify input specification and supply validator functions. This is a utility function based on Matlab's `inputParser`.

Cite As

Marcin Konowalczyk (2023). varargin2opt (https://github.com/MarcinKonowalczyk/varargin2opt), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.1

Added chaining (on Git) and updated display image

1.0.1

Connected to GitHub

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.