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 日

0 投票

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 件のコメント

eeswar bhimanojula
eeswar bhimanojula 2020 年 5 月 17 日
i am facing same problem so
Walter Roberson
Walter Roberson 2020 年 5 月 17 日
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