ExecutionTimeInSeconds
Get execution time in seconds for profiled section of code
Description
returns
a vector of execution times, measured in seconds, for the profiled
section of code. Each element of ExecutionTimes = NthSectionProfile.ExecutionTimeInSecondsExecutionTimes contains
the difference between the timer reading at the start and the end
of the section.
If you set the CodeProfilingSaveOptions parameter
to 'SummaryOnly', NthSectionProfile.ExecutionTimeInSeconds returns
an empty array. To change that parameter, open the Configuration Parameters
dialog box by pressing Ctrl+E, open the Verification pane
under Code Generation,
and change the Save options parameter to All
data.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2013a