setListObj
Add list of hyperlinks to model objects
Syntax
setListObj(
ft_obj
, {model_obj
})
Description
setListObj(
is
an optional method that generates a bulleted list of hyperlinks to
model objects. ft_obj
, {model_obj
})
is
a handle to a list template object. ft_obj
is
a cell array of handles or full paths to blocks, or model objects
that the Model Advisor displays as a bulleted list of hyperlinks in
the report.model_obj
Examples
Create a list object, ft
, and add a list
of the blocks found in the model:
ft = ModelAdvisor.FormatTemplate('ListTemplate'); % Find all the blocks in the system allBlocks = find_system(system); % Add the blocks to a list setListObj(ft, allBlocks);