okomarov/getSubclas​ses

List subclasses and their dependency graph
45 descargas
Actualizado 1 jul 2016

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\');

Citar como

Oleg Komarov (2024). okomarov/getSubclasses (https://github.com/okomarov/getSubclasses), GitHub. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2015b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Verification, Validation, and Test en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!

No se pueden descargar versiones que utilicen la rama predeterminada de GitHub

Versión Publicado Notas de la versión
1.0.0.0

Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.