why I can't work with the optimization Toolbox?

6 vues (au cours des 30 derniers jours)
Negin Rahmati
Negin Rahmati le 27 Mai 2022
Commenté : Negin Rahmati le 28 Mai 2022
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.

Réponse acceptée

Jan
Jan le 27 Mai 2022
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 commentaires
Walter Roberson
Walter Roberson le 28 Mai 2022
Ask your university to provide the license
Negin Rahmati
Negin Rahmati le 28 Mai 2022
Thanks

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by