How do I use gaoptim toolbox?

조회 수: 10(최근 30일)
Prerna Mishra
Prerna Mishra 2022년 7월 25일
답변: GandaBerunda 2022년 7월 27일
How can I install Global Optimization Toolbox? I am trying to use gaoptimset but I keep getting the following error:
'gaoptimset' requires Global Optimization Toolbox.


GandaBerunda 2022년 7월 27일
Hi Prerna,
The procedure for installing any add on is as follows:
  1. On your Matlab start page, go to apps.
  2. Click on Get More Apps, which will cause the Add On explorer to open.
  3. Search for the Global Optimization Toolbox, and download it.
With specific reference to gaoptimset, documentation says that it is not recommended to be used post R2018B. Instead, optimoptions can be used((Not recommended) Create genetic algorithm options structure - MATLAB gaoptimset - MathWorks India).
Hope it helps

Community Treasure Hunt

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

Start Hunting!

Translated by