why I can't work with the optimization Toolbox?

6 次查看(过去 30 天)
When I run this code: options = optimoptions('patternsearch');, Matlab keeps displaying the error below:
'optimoptions' requires Optimization Toolbox.
I use my university lisence and I don't have access to any account related to it but when I check Add-ons or type ver it shows that both Global optimization toolbox (Version 4.4 ) and optimization toolbox (Version 9) are installed. (Matlab is version R2020b)
I don't know how to fix this problem. I would be grateful if you could help me out with it.

采纳的回答

Jan
Jan 2022-5-27
ver tells you, if the toolbox is installed. This shows, if you have an active license for this toolbox:
license('test', 'Optimization_Toolbox')
If this replies 0, try:
[status, msg] = license('checkout', 'Optimization_Toolbox')
  3 个评论

请先登录,再进行评论。

更多回答(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