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`.
引用格式
Marcin Konowalczyk (2024). varargin2opt (https://github.com/MarcinKonowalczyk/varargin2opt), GitHub. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 String Parsing 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!tests
无法下载基于 GitHub 默认分支的版本
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.1 | Added chaining (on Git) and updated display image |
|
|
1.0.1 | Connected to GitHub |
|
|
1.0.0 |
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库。