Getting error in robot palletizing example in ParseInputsML and in OptimizationOptions

11 views (last 30 days)
Error:'OptimizationOptions' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.
Error in parseParameterInputsML.m (line 118)
error(message('Coder:toolbox:UnmatchedParameter',args{k}));
Error in parseInputs.m (line 188)
Error in nvparse.m (line 103)
Error in contopptraj.m (line 140)
Error in 'PalletizeBoxesUsingCobot/Trajectory Optimization' (line 29)

Answers (1)

Manish
Manish on 4 Jun 2025
Hi,
I assume you're using the 'contopptraj' function along with OptimizationOptions as a parameter. If not, share the function you're using.
The 'contopptraj' function accepts five input arguments: waypoints, vellim, accellim, polypath, and N.
Passing OptimizationOptions as a parameter will result in an error.
Refer to the following documentation link for more details:
Hope this helps!

Categories

Find more on Robotics System Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!