matlab - How can I build a timer to count the total time of when my signal is on during the simulation? - Stack Overflow
Countdown - File Exchange - MATLAB Central
Behavioral model of a timer integrated circuit - MATLAB - MathWorks Nordic
FAQ] FAQ: How do I use Simulink “Custom Code” blocks to measure code execution time on TI C2000? - C2000 microcontrollers forum - C2000™︎ microcontrollers - TI E2E support forums