Simulink Control Design™ - MathWorks

(Tuis.) #1

frest.findDepend


Package: frest

List of model path dependencies

Syntax


dirs = frest.findDepend(model)

Description


dirs = frest.findDepend(model) returns paths containing Simulink model
dependencies required for frequency response estimation using parallel computing.
model is the Simulink model to estimate, specified as a character vector or a string. dirs
is a cell array, where each element is a path character vector. dirs is empty when
frest.findDepend does not detect any model dependencies. Append paths to dirs
when the list of paths is empty or incomplete.

frest.findDepend does not return a complete list of model dependency paths when the
dependencies are undetectable.

Examples


Specify model path dependencies for parallel computing:
% Copy referenced model to temporary folder.
pathToLib = scdpathdep_setup;
% Add folder to search path.
addpath(pathToLib);
% Open Simulink model.
mdl = 'scdpathdep';
open_system(mdl);
% Get model dependency paths.
dirs = frest.findDepend(mdl)

15 Alphabetical List

Free download pdf