okomarov/getSubclas​ses

バージョン 1.0.0.0 (15.2 KB) 作成者: Oleg Komarov
List subclasses and their dependency graph
ダウンロード: 45
更新 2016/7/1

Description
Matlab function to list subclasses and dependencies
Syntax
getSublasses(ROOTCLASS, [ROOTPATH])

Lists all subclasses of ROOTCLASS and their node dependency. ROOTCLASS can be a string with the name of the class, an object or a meta.class().

It looks for subclasses in the ROOTPATH folder and in all its subfolders (at any depth). If ROOTPATH is not specified, it is set to the folder where ROOTCLASS is located. ROOTCLASS can also be a negative integer indicating how many folders above that of ROOTCLASS to begin the search.
Output

Produces a table with names, from and to nodes, i.e. the current and the node of the direct subclass.

If the getSubclasses() is called without an output, it will plot a graph() with the dependencies (requires version R2015b).

Example
which sde
C:\Program Files\MATLAB\R2016a\toolbox\finance\finsupport\@sde\sde.m % sde constructor

getSubclasses('sde','C:\Program Files\MATLAB\R2016a\toolbox\finance\finsupport\');

引用

Oleg Komarov (2024). okomarov/getSubclasses (https://github.com/okomarov/getSubclasses), GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2015b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVerification, Validation, and Test についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!

GitHub の既定のブランチを使用するバージョンはダウンロードできません

バージョン 公開済み リリース ノート
1.0.0.0

この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。