Community Profile

photo

Folkert


Active since 2012

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Answered
Input parser: default argument depends on another required argument, how to do this?
Another way: Call the following function as: foo(1, 2, 'speed', 2, 'direction', [6, 1]); (varargin is composed of param...

11 years ago | 0

Question


Input parser: default argument depends on another required argument, how to do this?
In an attempt to clean up my code and make it usable for the outside world, I would like to have decent input handling. Some inp...

11 years ago | 3 answers | 1

3

answers