OptimTraj icon indicating copy to clipboard operation
OptimTraj copied to clipboard

Improve input validation

Open MatthewPeterKelly opened this issue 9 years ago • 2 comments

Right now the input validation will not warn you if there is an unused field in the options struct. This results in a problem when you make a typo in a field name, causing the solver to use the default options quietly.

MatthewPeterKelly avatar Aug 11 '15 19:08 MatthewPeterKelly

It might be possible to replace the current implementation for option parsing with whatever mechanism Matlab uses internally for option parsing. A good implementation will likely involve Matlab classes.

MatthewPeterKelly avatar Feb 03 '18 13:02 MatthewPeterKelly

It might be possible to create a Matlab object for the input options - this would likely make robust input validation easier to implement.

MatthewPeterKelly avatar May 03 '18 12:05 MatthewPeterKelly