Skip to Main Content Skip to Search
Product Documentation

getNumSectionProfiles - Get number of profiled code sections

Syntax

No_of_Sections = myExecutionProfile.getNumSectionProfiles

Description

No_of_Sections = myExecutionProfile.getNumSectionProfiles returns the number of code sections for which profiling data is available.

There may be cases where, although code sections are instrumented, profiling data is not available because these code sections are not executed.

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

Output Arguments

No_of_Sections

Number of code sections with profiling data

See Also

display | getMaxTicks | getName | getNumCalls | getSampleOffset | getSamplePeriod | getSectionNumber | getSectionProfile | 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