フィルターのクリア

How to Find What Toolbox a Function is in From Documentation?

18 ビュー (過去 30 日間)
Tom Ruopp
Tom Ruopp 2022 年 6 月 1 日
コメント済み: Walter Roberson 2022 年 6 月 1 日
Hi,
I hope the answer to this isn't staring me in the face...but I'm trying to use the 'addTerms' function
and I cannot figure out from the documentation what toolbox I need to download in order to use it.
I already have the 'Statistics and Machine Learning Toolbox' version 12.3. However, my MATLAB install is not recognizing the 'addTerms.m' function.
Thanks for your consideration,
tom

採用された回答

Matt J
Matt J 2022 年 6 月 1 日
See the upper-left corner of the doc page. In this case, it is the Statistics and Machine Learning Toolbox.
  6 件のコメント
Steven Lord
Steven Lord 2022 年 6 月 1 日
Walter is correct. You can see this by scrolling down to the Input Arguments section on that documentation page, which lists as the description of the mdl input argument:
"Linear regression model, specified as a LinearModel object created using fitlm or stepwiselm."
If you tried to call addTerms with something that's not a LinearModel object as the first input, that doesn't satisfy the requirements of the function and so MATLAB throws an error.
Walter Roberson
Walter Roberson 2022 年 6 月 1 日
Because it is a class method, MATLAB would not be able to see it at all for other inputs.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGaussian Process Regression についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by