Name - Get name of profiled code section - MATLAB (original) (raw)

Get name of profiled code section

Syntax

Description

[SectionName](#mw%5Fa02a9b1f-c97c-4755-ae29-987546f30f44)=[NthSectionProfile](#mw%5F5ddabc7e-1940-422e-b6b2-bb39dddaf876).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.

example

Examples

collapse all

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

SectionName = NthSectionProfile.Name;

Input Arguments

collapse all

The NthSectionProfile is acoder.profile.ExecutionTimeSection object generated by thecoder.profile.ExecutionTime propertySections.

Example: NthSectionProfile

Output Arguments

collapse all

Name that identifies profiled code section.

Version History

Introduced in R2012b