Option Specifications and Permutations

A simple way to use structured option structures in functions and produce permutations.

You are now following this Submission

Allows for defaults and overlaying the options.
Includes functionality to do basic permutations for the specified options.
Both functions work with nested structures.

Examples are included for:
. Basic option overlaying
. Storing options using persistent variables in functions for use in a pseudo-framework
. Creating option permutations and overlaying those

Cite As

Eric Cousineau (2026). Option Specifications and Permutations (https://www.mathworks.com/matlabcentral/fileexchange/32952-option-specifications-and-permutations), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0