Main Content

find

Class: systemcomposer.rptgen.finder.AllocationSetFinder
Namespace: systemcomposer.rptgen.finder

Find information about allocation set

Since R2022b

Syntax

result = find(finder)

Description

result = find(finder) finds information about the allocation set for the AllocationSet search result.

Input Arguments

expand all

Allocation set finder, specified as a systemcomposer.rptgen.finder.AllocationSetFinder object.

Output Arguments

expand all

Allocation set result, returned as a systemcomposer.rptgen.finder.AllocationSetResult object.

Examples

expand all

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