필터 지우기
필터 지우기

Optimization toolbox installed, but MATLAB says it has been removed

조회 수: 37 (최근 30일)
Sergio
Sergio 2024년 4월 8일
댓글: Sergio 2024년 4월 9일
I installed MATLAB ra2024, and before on rb2023 I had Optimization toolbox well working. Nevertheless, when trying to run it in MATLAB ra2024 I get:
So what can I do to run it?
When I chose the recommened solution, I get a mlx file with a bunch of stuff that I haven't written. Then trying to insert the code
options = optimoptions('fminunc', 'SpecifyObjectiveGradient', true, ...
'Display', 'iter','Algorithm','quasi-newton');
k = fminunc(@enzymeGeneral,k0,options);
Nothing happens, like the Optimization Toolbox does not even exist.
Any help welcome.
Thanks

답변 (1개)

Steven Lord
Steven Lord 2024년 4월 8일
The Optimization Tool interface (optimtool) was removed in release R2021a. The Optimization Toolbox has not been removed.
Instead of the old Optimization Tool, use the Optimize Live Task.
  댓글 수: 7
Steven Lord
Steven Lord 2024년 4월 8일
You've opened the Editor not the Live Editor. Create a new Live Script not a new Script.

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

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by