Borrar filtros
Borrar filtros

Do I have the Global Optimization Toolbox?

15 visualizaciones (últimos 30 días)
Sarah Johnson
Sarah Johnson el 17 de Dic. de 2018
Editada: TADA el 17 de Dic. de 2018
I attempt to use the 'fsolve' function and get the following error:
??? Undefined function or method 'fsolve' for input arguments of type 'function_handle'.
I type "ver" to see what my matlab version is to see if perhaps I do not have the Global Optimization Toolbox, but I cannot tell from this information if I have the toolbox or not.
What can I do to be able to use commands like 'fsolve' ??

Respuestas (2)

Mayur Agnani
Mayur Agnani el 17 de Dic. de 2018
Hi Sarah,
I see that you ver command, doesn't shows the Global Optimization Toolbox. it is most likely you do not have the Global Optimization Toolbox.Below is the link to ver dcoumentation.
Note: this tells you if it is installed, which is what you asked, though not if you have a license for it or not.
license( 'test', 'Signal_Toolbox' )
If you are using MATLAB version R2015b or later, you can view and manage all installed add-ons including toolboxes using the Add-On Manager. To open the Add-On Manager, in MATLAB, go to the Home tab, and select Add-Ons > Manage Add-Ons.
To view the function list for a toolbox, select the toolbox in the Add-On Manager and, in the Options menu on the right of the add-on, select View in Add-On Explorer. The Functions tab shows the list of functions included with the toolbox.
For using the fsolve coomand you have to install Global Optimization Toolbox.To install additional toolboxes into an existing installation of MATLAB
Mayur
  1 comentario
Alan Weiss
Alan Weiss el 17 de Dic. de 2018
Just a small clarification: fsolve requires Optimization Toolbox™, not Global Optimization Toolbox.
Alan Weiss
MATLAB mathematical toolbox documentation

Iniciar sesión para comentar.


TADA
TADA el 17 de Dic. de 2018
Editada: TADA el 17 de Dic. de 2018
license('checkout', 'Optimization_Toolbox')
It might also be overriden somewhere in your matlab search path,
run this to make sure:
which('fsolve')
the path should be something like that:
C:\Program Files\MATLAB\R2017b\toolbox\optim\optim\fsolve.m

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by