Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
sai vasavi
sai vasavi am 24 Mai 2011
I have Cygwin compiler in my system.how debug C mex files in matlab with this compiler. please can anyone help me.plz

Antworten (1)

Titus Edelhofer
Titus Edelhofer am 24 Mai 2011
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 Kommentare
sai vasavi
sai vasavi am 24 Mai 2011
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.
Titus Edelhofer
Titus Edelhofer am 25 Mai 2011
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 ...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by