S function debugging with Visual Studio 2005

Hi,
I have developed a S function of my auto-code. When I am simulating my S function the Matlab is getting crashed. So i want to analyse where I am getting the exact error in my c code.
Hence I want to debug my c code using Visual Studio 2005. Can anyone suggest me how to integrate Visual studio with Matlab such that I can put a break point in my Visual Studio and when i simulate my s function it should hault at that particular line of code where i have introduced a break point.

 채택된 답변

Sachin Ganjare
Sachin Ganjare 2012년 10월 11일

1 개 추천

댓글 수: 1

There is also a similar section called Debugging C-MEX S-functions, but it's essentially the same technique.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

질문:

2012년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by