Profiling handwritten MEX C-Function

1 回表示 (過去 30 日間)
Steradiant
Steradiant 2021 年 2 月 10 日
回答済み: Animesh 2024 年 4 月 8 日
Hello,
is there a way to profile a handwritten MEX C-function to determine which part of the code needs the most execution time?

回答 (1 件)

Animesh
Animesh 2024 年 4 月 8 日
I understand that you are looking for ways to profile a MEX C-function. I have found two valuable resources that can guide you through this process:
  1. The first resource is a discussion on Stack Overflow titled "How do I profile a MEX function in MATLAB?" You can find it here: https://stackoverflow.com/questions/11220250/how-do-i-profile-a-mex-function-in-matlab
  2. The second resource is another Stack Overflow discussion titled "Profiling a MEX function." It's available at: https://stackoverflow.com/questions/1276834/profiling-a-mex-function
Please visit these links to get a comprehensive understanding of how to profile your MEX C-function.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by