OptimTraj
OptimTraj copied to clipboard
Improve input validation
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.
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.
It might be possible to create a Matlab object for the input options - this would likely make robust input validation easier to implement.