Main Content


Get name of profiled code section (MATLAB code generation)



SectionName = NthSectionProfile.Name returns the name that identifies the profiled code section.


collapse all

To get the name that identifies the profiled code section, use the Name property of the NthSectionProfile object.

SectionName = NthSectionProfile.Name;

Input Arguments

collapse all

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

Example: NthSectionProfile.MaximumExecutionTimeInTicks

Output Arguments

collapse all

The SectionName is the name that identifies profiled code section.

Version History

Introduced in R2012b