Getting error in robot palletizing example in ParseInputsML and in OptimizationOptions

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)

回答(1 个)

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!

类别

帮助中心File Exchange 中查找有关 Robotics System Toolbox 的更多信息

提问:

2025-5-15

回答:

2025-6-4

Community Treasure Hunt

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

Start Hunting!

Translated by