Compatible Problem in Matlab: LineSearchType option is no longer valid in using optimset
Ältere Kommentare anzeigen
I'm the user of Matlab 2014b and I have a code in hand which is written in the previous version of Matlab, which will result in the Compatible Problem.
The old code can't be executed is listed below:
options = optimset('LargeScale', 'off', 'HessUpdate', 'dfp', 'LineSearchType', 'quadcubic','MaxFunEvals', MaxFunEvals, ... 'display', 'off', 'MaxIter', MaxIter, 'TolFun', 1e-8, 'TolX', 1e-8);
The report error is:
"LineSearchType option is no longer valid in using optimset"
I'm wondering which is the new function that can help me get the same results? Alternatively, is any code can support the Matlab to run the old code?
Your help is very appreciated.
1 Kommentar
fadloullah issam
am 30 Okt. 2020
THE SAME PROBLEM BUT WITH MATLAB 2018
Antworten (1)
Matt J
am 30 Okt. 2020
options = optimset('LargeScale', 'off', 'HessUpdate', 'dfp','MaxFunEvals', MaxFunEvals, ...
'display', 'off', 'MaxIter', MaxIter, 'TolFun', 1e-8, 'TolX', 1e-8)
Kategorien
Mehr zu Scope Variables and Generate Names finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!