Problem with gaoptimset in unix
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
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
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
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 Center 和 File 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!