Cannot use Installed Global Optimization Toolbox

I have MATLAB 2018b, and am using the ga function and receive the following error:
''ga' requires Global Optimization Toolbox.'
However when I check the ver command I get that I have the toolbox enabled. So clearly I have the install on, and even using the function matlab.addons.isAddonEnabled('GD') returns 1. So I am not sure how to be able to use the installed toolbox.
Any help is appreciated!

답변 (1개)

Star Strider
Star Strider 2018년 9월 18일
Run these from a script or the Command Window:
restoredefaultpath
rehash toolboxcache
If that fails, use the Contact Us link in the upper right corner of this page and ask for installation help.

댓글 수: 2

i am facing same problem so
you could get this if you do not have global optimization toolbox installed or if it is not licensed

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2018년 9월 18일

댓글:

2020년 5월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by