List of all functions an their toolboxes

42 ビュー (過去 30 日間)
Jan
Jan 2022 年 11 月 22 日
コメント済み: Jan 2022 年 11 月 24 日
Is there a way to get a list of the names of all toolbox functions?
If I publish a toolbox, I want to avoid conflicts with Matlab's toolboxes. I've published a tool to check conflicts with the installed toolboxes already. For sharing my functions with others, a complete list preferrably with the names of the corresponding toolboxes would be very useful.
It would be easy to grab it from a local full installation, but I do not have access to all licenses. Would grabbing the web help sections work?

採用された回答

Steven Lord
Steven Lord 2022 年 11 月 22 日
So you're looking for something like the function lists? This one is for MATLAB; each product has its own page like this.
Are you concerned about the fact that not all functions in our products have function reference pages? One example is the undocumented feature function.
Do you care about a conflict between a name used by user code and a name that is only implemented as a method of one or more classes rather than being in the global namespace? As a concrete example, would you allow a user function named addCause even though the MException class defines an addCause method?
How about imports? Is a user function named Scalar okay even though if a user imported the matlab.mixin package they'd call the matlab.mixin.Scalar class as just Scalar?
  3 件のコメント
Steven Lord
Steven Lord 2022 年 11 月 23 日
Do you have any suggestions for anything our documentation staff could do to increase the discoverability of this information? I don't find it by searching; I go to the Support section of the site and look down about an inch (on my laptop's screen) to the list of areas in Help Center. The first is Documentation, followed by Examples, Functions, Blocks, Apps, Videos, and Answers.
Once I've selected Functions I either click on a category in the main frame of Help Center or (if I know I'm looking for a function or functionality in a particular product) I switch from the category view to the product view using the links in the left frame.
Is there some other sequence of steps that seems like a more intuitive way to access this information to you?
Jan
Jan 2022 年 11 月 24 日
I assume that finding these lists is a rare problem and no improvements are required.
But MathWorks could integrate such a list in a tool, which find name conflicts with all toolboxes, even the ones, which are not installed. This is implemented at least partially already in the license check: If a folder contains a function, whose name belongs to a not licensed (and not installed) toolbox, the access to the complete folder is blocked and the user has to find out, which function is responsible. There have been about 20 corresponding questions in this forum.
Maybe I should send an enhancement request.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by