getmodules

Returns list of modules loaded in Nelson.

Syntax

  • modules_name = getmodules()

  • [modules_name, modules_root_path, modules_version, modules_protected] = getmodules()

Output argument

  • modules_name - a cell of strings: modules names.

  • modules_root_path - a cell of strings: path of modules.

  • modules_version - a cell of vector: [major, minor, patch].

  • modules_protected - a vector of logical: true if module can be removed or not.

Description

getmodules returns list of modules loaded in Nelson.

all core's modules are protected and cannot removed during an nelson's session.

Example

[modules_name, modules_root_path, modules_version, modules_protected] = getmodules()

See also

requiremodule, ismodule.

History

VersionDescription

1.0.0

initial version

Author

Allan CORNET

Last updated