Problem with gaoptimset in unix

조회 수: 2 (최근 30일)
dimitris
dimitris 2012년 3월 16일
댓글: Robert Mann 2017년 2월 21일
I have a problem runing my code in unix although the same code is running in windows. The error i get is the following: "Undefined function or method 'gaoptimset' for input arguments of type 'function_hundle' ". Then i type help gaoptimset and get the message "gaoptimset not found". Does anyone know what the problem might be?

채택된 답변

Jacob Halbrooks
Jacob Halbrooks 2012년 3월 16일
The GAOPTIMSET function is installed with Global Optimization Toolbox. Do you have that product installed? You can check with products you have installed by executing:
ver
  댓글 수: 3
Jacob Halbrooks
Jacob Halbrooks 2012년 3월 16일
The tech note below suggests some possible causes for this type of error:
http://www.mathworks.com/support/tech-notes/1200/1207.html#17
I'd suggest you check that you have the correct files installed (look for gaoptimset.m on disk) and also that your MATLAB path has the toolbox folders listed.
Robert Mann
Robert Mann 2017년 2월 21일
Had a similar problem and would not have even thought to check what was installed if not for this answer. Thanks Jacob!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by