matlab-validate-function-arguments
Installation
SKILL.md
MATLAB Function Argument Validation
Write robust MATLAB functions using arguments blocks with correct semantics for size, class, repeating arguments, and property import.
When to Use
- Writing a function with an
argumentsblock - Using repeating arguments (
arguments (Repeating)) - Writing a class constructor that accepts name-value arguments
- Migrating from
inputParserorvalidateattributes - Reviewing a function signature for implicit conversion pitfalls
- Choosing between class specs,
mustBeA, and validators