Contents

liblinks

Check model for blocks from specific DSP System Toolbox libraries

Syntax

liblinks(lib)
liblinks(lib,sys)
liblinks(lib,sys,c)

Description

liblinks(lib) returns a cell array of strings that lists the blocks in the current model that are linked to the specified libraries. The input lib provides a cell array of strings with the library names. Use the library name visible in the title bar when you open a library model.

liblinks(lib,sys) acts on the named model sys.

liblinks(lib,sys,c) changes the foreground color of the returned blocks to the color c. Possible values of c are 'blue', 'green', 'red', 'cyan', 'magenta', 'yellow', or 'black'.

Examples

Check for blocks from the Sources library in the specified model:

rlsdemo
liblinks('dspsrcs4',gcs)

See Also

Was this topic helpful?