Main Content

Name

プロファイリングされたコード セクションの名前の取得 (MATLAB コード生成)

説明

SectionName = NthSectionProfile.Name は、プロファイリングされたコード セクションを識別する名前を返します。

すべて折りたたむ

プロファイリングされたコード セクションを識別する名前を取得するには、NthSectionProfile オブジェクトの Name プロパティを使用します。

SectionName = NthSectionProfile.Name;

入力引数

すべて折りたたむ

NthSectionProfile は、coder.profile.ExecutionTime プロパティ Sections で生成される coder.profile.ExecutionTimeSection オブジェクトです。

例: NthSectionProfile.MaximumExecutionTimeInTicks

出力引数

すべて折りたたむ

SectionName は、プロファイリングされたコード セクションを識別する名前です。

バージョン履歴

R2012b で導入