Skip to Main Content Skip to Search
Product Documentation

getSectionProfile - Get rtw.pil.ExecutionProfileSection object for a profiled code section

Syntax

NthSectionProfile = myExecutionProfile.getSectionProfile(N)

Description

NthSectionProfile = myExecutionProfile.getSectionProfile(N) returns an rtw.pil.ExecutionProfileSection object for the Nth profiled code section.

myExecutionProfile is a workspace variable generated by a SIL or PIL simulation.

Use rtw.pil.ExecutionProfileSection methods to extract profiling information from the returned object.

Input Arguments

N

Index of code section for which profiling data is required

Output Arguments

NthSectionProfile

rtw.pil.ExecutionProfileSection object that contains profiling information

See Also

display | getMaxTicks | getName | getNumCalls | getNumSectionProfiles | getSampleOffset | getSamplePeriod | getSectionNumber | getTicks | getTimerTicksPerSecond | getTimes | getTotalSelfTicks | getTotalTicks | report | setTimerTicksPerSecond

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS