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:
- 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
- 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.