Number - Get number that uniquely identifies profiled code section - MATLAB (original) (raw)
Get number that uniquely identifies profiled code section
Syntax
Description
[SectionNumber](#mw%5Fb77ae3e4-6ddd-46e1-8d21-467255d3d8c0) = [NthSectionProfile](#mw%5Ffd089ee6-f94f-4777-ac39-0f6d87ef1862).Number
returns a number that uniquely identifies the profiled code section, for example, in the code execution profiling report.
Examples
To get the number that identifies the profiled code section, use the Number
property of the NthSectionProfile
object.
SectionNumber = NthSectionProfile.Number;
Input Arguments
The NthSectionProfile
is acoder.profile.ExecutionTimeSection
object generated by thecoder.profile.ExecutionTime
propertySections
.
Example: NthSectionProfile
Output Arguments
The SectionNumber
is the number of the profiled code section.
Version History
Introduced in R2012b