Main Content

Number

Get number that uniquely identifies profiled code section

Description

example

SectionNumber = NthSectionProfile.Number returns a number that uniquely identifies the profiled code section, for example, in the code execution profiling report.

Examples

collapse all

To get the number that identifies the profiled code section, use the Number property of the NthSectionProfile object.

SectionNumber = NthSectionProfile.Number;

Input Arguments

collapse all

The NthSectionProfile is a coder.profile.ExecutionTimeSection object generated by the coder.profile.ExecutionTime property Sections.

Example: NthSectionProfile

Output Arguments

collapse all

The SectionNumber is the number of the profiled code section.

Introduced in R2012b