How to debug C Mex files in Matlab without in built compiler

I have Cygwin compiler in my system.how debug C mex files in matlab with this compiler. please can anyone help me.plz

답변 (1개)

Titus Edelhofer
Titus Edelhofer 2011년 5월 24일

0 개 추천

Hi,
take a look at the instructions for how to debug mex files in Linux, see http://www.mathworks.com/support/tech-notes/1600/1605.html#debug_unix
Titus

댓글 수: 2

Actually i dont have linux in my desktop.I have only cgywin compiler.I built s-function using existing C code.I have to compile those mex files.
I know. First of all: why do you use cygwin instead of lcc? Second, when you use cygwin (i.e., the gnu compiler), debugging using gdb from cygwin should work similarly to using gdb on a linux machine, that's what I tried to point out ...

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

카테고리

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

질문:

2011년 5월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by