systemcomposer.rptgen.finder.AllocationSetResult class
Package: systemcomposer.rptgen.finder
Superclasses: mlreportgen.finder.Result
(MATLAB Report Generator)
Description
Allocation set search result object in a System Composer™ architecture model.
The systemcomposer.rptgen.finder.AllocationSetResult
class is a handle
class.
Creation
creates a search result
object for an allocation set found by a result
= AllocationSetResultsystemcomposer.rptgen.finder.AllocationSetFinder
object.
Note
The find
method of the systemcomposer.rptgen.finder.AllocationSetFinder
class creates objects of this
type for each allocation set that it finds. You do not need to create this object
yourself.
Properties
Methods
Use the AllocationSetFinder
and AllocationSetResult
classes to generate a report.
import mlreportgen.report.* import slreportgen.report.* import systemcomposer.rptgen.finder.* rpt = slreportgen.report.Report(output="AllocationSetResultReport",... CompileModelBeforeReporting=false); add(rpt,TitlePage("Title","Allocation Sets")); add(rpt,TableOfContents); chapter = Chapter("Title","Allocation Sets"); allocationSetFinder = AllocationSetFinder("AllocationSet.mldatx"); result = find(allocationSetFinder); reporter = getReporter(result); add(rpt,chapter); append(rpt,reporter); close(rpt); rptview(rpt)
Version History
Introduced in R2022b