Skip to Main Content Skip to Search
Product Documentation

getTimerTicksPerSecond - Get number of timer ticks per second

Syntax

TimerTicksASecond = myExecutionProfile.getTimerTicksPerSecond

Description

TimerTicksASecond = myExecutionProfile.getTimerTicksPerSecond returns the number of timer ticks per second. For example, if the timer runs at 1 MHz, then the number of ticks per second is 106.

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

Output Arguments

TimerTicksASecond

Number of timer ticks per second

See Also

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