File Exchange

image thumbnail

varargin2opt

version 1.1 (5.16 KB) by Marcin Konowalczyk
Parse varargin cells to option structures

12 Downloads

Updated 06 Jul 2020

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 (2020). varargin2opt (https://github.com/MarcinKonowalczyk/varargin2opt), GitHub. Retrieved .

Comments and Ratings (1)

Chang hsiung

Updates

1.1

Added chaining (on Git) and updated display image

1.0.1

Connected to GitHub

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