okomarov/getSubclas​ses

版本 1.0.0.0 (15.2 KB) 作者: Oleg Komarov
List subclasses and their dependency graph
45.0 次下载
更新时间 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 CenterMATLAB Answers 中查找有关 Verification, 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 仓库