メインコンテンツ

find

関数に関する情報を検索

R2022b 以降

構文

result = find(finder)

説明

result = find(finder) は、Function 検索結果の関数に関する情報を検索します。

入力引数

すべて展開する

関数ファインダー。systemcomposer.rptgen.finder.FunctionFinder オブジェクトとして指定します。

出力引数

すべて展開する

関数結果。systemcomposer.rptgen.finder.FunctionResult オブジェクトとして返されます。

すべて展開する

FunctionFinder クラスと FunctionResult クラスを使用してレポートを生成します。

import mlreportgen.report.*
import slreportgen.report.*
import systemcomposer.rptgen.finder.*
import systemcomposer.rptgen.report.*

rpt = slreportgen.report.Report(output="FunctionFinderReport",...
CompileModelBeforeReporting=false);
add(rpt,TitlePage("Title","Software Functions"));
add(rpt,TableOfContents);

functionFinder = FunctionFinder("SoftwareModel");
functionFinder.ComponentName = "Component0";
chapter = Chapter("Title","Functions");
result = find(functionFinder);
functionsTable = Function("Source",result);

add(rpt,chapter);
append(rpt,functionsTable);
close(rpt);
rptview(rpt)

バージョン履歴

R2022b で導入