image thumbnail

varargin2opt

version 1.1 (1.08 MB) by Marcin Konowalczyk
Parse varargin cells to option structures

63 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 (2021). 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!
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.