When I use optimoptions with any solver name, I get the following error message:
Error using optimoptions (line 124)
Invalid default value for property 'OptionsStore' in class 'optim.options.Fmincon':
Not enough input arguments.
Looks like it does not recognize any solver. Do you know how to fix this? Thank you!

 채택된 답변

Alan Weiss
Alan Weiss 2017년 12월 11일

0 개 추천

It is possible that you need to reinstall Optimization Toolbox. Or perhaps the following less drastic alternative will suffice:
clear all
rehash toolboxcache
Alan Weiss
MATLAB mathematical toolbox documentation

댓글 수: 1

Simone Polimeni
Simone Polimeni 2017년 12월 11일
Dear Alan,
I've tried both and nothing changed. I will try to unistall and reinstall my Matlab package.
Thanks anyway for your help!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

제품

질문:

2017년 12월 11일

댓글:

2017년 12월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by