Main Content


Get name of profiled code section



SectionName=NthSectionProfile.Name returns the name that identifies the profiled code section. The software generates an identifier based on the model entity that corresponds to the profiled section of code.


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

Output Arguments

collapse all

Name that identifies profiled code section.

Version History

Introduced in R2012b