Main Content

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 character vectors that lists the blocks in the current model that are linked to the specified libraries. The input lib provides a cell array of character vectors 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

Open the model in the Adaptive Noise Cancellation Using RLS Adaptive Filtering example. Check for blocks from the Sources library in the example model by running this command:

liblinks('dspsrcs4',gcs)

Version History

Introduced before R2006a