Skip to Main Content Skip to Search
Product Documentation

getSamplePeriod - Get sample time associated with profiled task

Syntax

SampleTime = NthSectionProfile.getSamplePeriod

Description

SampleTime = NthSectionProfile.getSamplePeriod returns the sample time if the profiled code section is a task.

NthSectionProfile is an rtw.pil.ExecutionProfileSection object generated by the rtw.pil.ExecutionProfile method getSectionProfile.

Output Arguments

SampleTime

Sample time associated with profiled task

See Also

display | getMaxTicks | getName | getNumCalls | getNumSectionProfiles | getSampleOffset | 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