GradObj is not a valid option to optimset()

1 view (last 30 days)
iam getting a error maybe because i dont have a licence for the given products
GradObj is not a valid option to optimset() unless a license is present for one of the following products:
Optimization Toolbox
Curve Fitting Toolbox
Statistics and Machine Learning Toolbox
Computer Vision Toolbox
System Identification Toolbox
maybe thats the reason iam getting error using optimset
!! Submission failed: Error using optimset (line 255)
Unrecognized parameter name 'GradObj'.Unrecognized parameter name 'GradObj'. Please see the optimset reference page in the documentation for a list of acceptable option parameters. Link to reference page.
Function: optimset
FileName: /opt/mlsedu/matlab/R2019a/toolbox/matlab/optimfun/optimset.m
LineNumber: 255
can anyone help me with the error
  1 Comment
Geoff Hayes
Geoff Hayes on 2 Jul 2019
Kavidha - do you have a valid license for any of the above toolboxes? What is the line of code that is throwing this error?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!