This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069F: An embedded coder code to access CPU timers

Part Number: TMS320F28069F

Hello everyone,

I am trying to measure the time elapsed to execute a certain code segment. My development environment MATLAB/SIMULINK with necessary toolboxes. I know this can achieved by configuring one of the CPU timers and reading their values as needed. The problem is that I do not know how to do it in MATLAB/SIMULINK. I am guessing one would have to write custom code blocks and make them extern C code. I would be glad if someone could point out the related resources (an example or a literature) in this topic.

Thanks,

Ganesh