debugging a mex file with eclipse cdt
古いコメントを表示
A while back I rewrote some time-critical matlab code in java. I was able to debug the code using eclipse. When matlab executed the statement calling the java code, execution would shift to the Eclipse environment.
I'd now like to repeat this behavior in a different situation. I've written C++ code and compiled it with mex. It will replace some time-critical matlab code. I'd like to debug it using Eclipse CDT. I've tried using the "attach to Process" feature of the Eclipse debugger, but that paralyzes matlab. How should I proceed?
Don
回答 (1 件)
Kaustubha Govind
2011 年 10 月 6 日
0 投票
Strange - I don't know why attaching the MATLAB process to Eclipse should hang MATLAB - especially because you seem to have done this successfully before. Perhaps you could also try Visual Studio or gdb: http://www.mathworks.com/help/techdoc/matlab_external/f32489.html
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!