Optional function arguments

Optional function arguments with default values: optndfts

Download
Download

You are now following this Submission

Cite As

Bill Whiten (2026). Optional function arguments (https://www.mathworks.com/matlabcentral/fileexchange/38881-optional-function-arguments), MATLAB Central File Exchange. Retrieved .

Categories

Find more on App Building in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

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

Includes reference to rename fields and selectfields

Download
3.1.0

Now can use char or string

Download
3.0.0

Reloaded

Download
2.0.0

v3.0 (2015-09-07) compatible with v2.0 and v1.0
Improved handling of cell arrays in optional arguments

Download
1.0.0

Download