Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

libinfo - Get information about library blocks referenced by model

Syntax

libdata = libinfo(system)
libdata = libinfo(system, constraint1, value1, ..., constraintN, valueN))

Description

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

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

Inputs

system

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

libinfo

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

See Also

find_system

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS