error during run command

3 views (last 30 days)
Kavidha Krishnamoorthi
Kavidha Krishnamoorthi on 4 Jul 2019
this is the error iam getting while running validationcurve.m file
! Submission failed: Error using optimset (line 255)
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
ii have read in one of links if we get gradobj error the we have to check toolbox which is installed .
all the toolbox given below is already installed then also iam getting the error
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
submit
Warning from path (line 109)
matlabpath([cPath1{:} cPath2{:}]);
line 109 matlabpath([cPath1{:} cPath2{:}]); ////this is the exact line of path.m which is throwing error
/opt/mlsedu/matlab/R2019a/toolbox/matlab/optimfun/optimset.m
ANYONE WHO CAN FIX THIS WILL ALSO FIX ERROR FOR OPTIMSET.M
[copyrighted code for path.m removed -- WDR]
  3 Comments
Walter Roberson
Walter Roberson on 5 Jul 2019
Optimization Toolbox
Curve Fitting Toolbox
Statistics and Machine Learning Toolbox
Computer Vision Toolbox
Those are already installed with MATLAB Online. You would not have had that error if you were using MATLAB Online.
System Identification Toolbox
That one is not supported by MATLAB Online, but you are not using it.
Kavidha Krishnamoorthi
Kavidha Krishnamoorthi on 6 Jul 2019
IAM using MATLAB online Walter and in still getting 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!