How can I measure the execution time of a simulink code in BeagleBone Black?

4 ビュー (過去 30 日間)
Dileep Krishnan
Dileep Krishnan 2016 年 2 月 29 日
コメント済み: Dileep Krishnan 2016 年 3 月 8 日
I am compiling a simulink code with Embedded Coder for BeagleBone Black. I want to measure the execution time taken by one step of the code. How can I measure the execution time? Is there anything similar to TET block of Simulink RealTime available in Embedded Coder?

回答 (1 件)

Satyajeet Sasmal
Satyajeet Sasmal 2016 年 3 月 2 日
Hi Dileep. Please look at the link below.
I believe this is exactly what you are looking for: https://www.mathworks.com/examples/embedded-coder/mw/armcortexa_product-arm_cortex_a_profiling-real-time-code-execution-profiling
-Satya
  1 件のコメント
Dileep Krishnan
Dileep Krishnan 2016 年 3 月 8 日
Hello Satya,
Thanks for the reply. This method executes the code on an Emulator. I wanted to know the execution time which the program takes in actual BeagleBoard Black hardware, with all the interfaces, like Serial communication and PWM outputs.
Regards, Dileep Krishnan

サインインしてコメントする。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by