S function debugging with Visual Studio 2005

1 回表示 (過去 30 日間)
Aditya
Aditya 2012 年 10 月 11 日
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 件のコメント
Kaustubha Govind
Kaustubha Govind 2012 年 10 月 11 日
There is also a similar section called Debugging C-MEX S-functions, but it's essentially the same technique.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by