Main Content

sources

Class: slreq.LinkSet
Package: slreq

Get link sources

Syntax

linkSetSources = sources(lks)

Description

linkSetSources = sources(lks) returns an array of structures linkSetSources that contains the link sources of all the links in the link set lks.

Input Arguments

expand all

Instance of an slreq.LinkSet object.

Output Arguments

expand all

Link set source data, returned as a MATLAB® structure.

Examples

Get Link Sources

% Load a link set and get link sources
myLinkSet = slreq.load('fuelsys.slx');
mySources = sources(myLinkSet)

mySources = 

  1×16 struct array with fields:

    domain
    artifact
    id
Introduced in R2018a