This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Get information about library blocks referenced by model


libdata = libinfo('system')
libdata = libinfo('system', constraint1, value1, ...)


libdata = libinfo('system') returns information about library blocks referenced by system and all the systems underneath it.

libdata = libinfo('system', constraint1, value1, ...) restricts the search as indicated by the search constraint(s) c1, v1, ...

Input Arguments


The system to search recursively for library blocks.

constraint1, value1, ...

One or more pairs, each consisting of a search constraint followed by a constraint value. You can specify any of the search constraints that you can use with find_system.

Output Arguments


An array of structures that describes each library block referenced by system. Each structure has the following fields:

BlockPath of the link to the library block
LibraryName of the library containing the referenced block
ReferenceBlockPath of the library block
LinkStatusValue of the LinkStatus parameter for the link to the library block

Introduced before R2006a