Problem in loading optimization toolbox

조회 수: 1 (최근 30일)
Abdur Forkan
Abdur Forkan 2014년 4월 16일
답변: Alan Weiss 2014년 4월 18일
Hi, I am using Matlab 2014a. When I try to use Optimization toolbox I get the following error instead of getting the Toolbox option
Undefined function 'createProblemStruct' for input arguments of type 'char'.
Error in optimtool (line 42) validValues = {fieldnames(createProblemStruct('solvers')), {} };
I basically need to use ga. But when I try to use ga always get the error
Undefined function 'ga' for input arguments of type 'function_handle'.
But nothing is working for me. Would you please suggest me how to fix it?

답변 (1개)

Alan Weiss
Alan Weiss 2014년 4월 18일
ga is a function in Global Optimization Toolbox, not Optimization Toolbox. At the MATLAB command line enter
ver
to see whether you have Global Optimization Toolbox installed. I suspect that you do not.
Alan Weiss
MATLAB mathematical toolbox documentation

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by