フィルターのクリア

Do I have the Global Optimization Toolbox?

15 ビュー (過去 30 日間)
Sarah Johnson
Sarah Johnson 2018 年 12 月 17 日
編集済み: TADA 2018 年 12 月 17 日
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' ??

回答 (2 件)

Mayur Agnani
Mayur Agnani 2018 年 12 月 17 日
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 件のコメント
Alan Weiss
Alan Weiss 2018 年 12 月 17 日
Just a small clarification: fsolve requires Optimization Toolbox™, not Global Optimization Toolbox.
Alan Weiss
MATLAB mathematical toolbox documentation

サインインしてコメントする。


TADA
TADA 2018 年 12 月 17 日
編集済み: TADA 2018 年 12 月 17 日
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

カテゴリ

Help Center および File ExchangeIntroduction 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