MATLAB Function Reference Previous page   Next Page
inmem

Return names of M-files, MEX-files, Java classes in memory

Syntax

Description

M = inmem returns a cell array of strings containing the names of the M-files that are currently loaded.

[M, X] = inmem returns an additional cell array X containing the names of the MEX-files that are currently loaded.

[M, X, J] = inmem also returns a cell array J containing the names of the Java classes that are currently loaded.

[...] = inmem('-completenames') returns not only the names of the currently loaded M- and MEX-files, but the path and filename extension for each as well. No additional information is returned for loaded Java classes.

Examples

Example 1

This example lists the M-files that are required to run erf.

Example 2

Generate a plot, and then find the M- and MEX-files that had been loaded to perform this operation:

See Also

clear


Previous page  inline inpolygon Next page

© 1994-2005 The MathWorks, Inc.