Main Content

Number

Get number that uniquely identifies profiled code section (MATLAB code generation)

Description

example

SectionNumber = NthSectionProfile.Number returns a number that uniquely identifies the profiled code section.

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.

Version History

Introduced in R2012b