Date: Nov 27, 2012 1:22 PM
Author: Steven Lord
Subject: Re: Matlab Core Dump



"Laila " <laila@yukawa.kyoto-u.ac.jp> wrote in message
news:k8i0qd$i4t$1@newscl01ah.mathworks.com...
> I have what I hope is a trivial question...
>
> My mex file is generating a segmentation fault (Core Dump), and in order
> to trace the source of this segmentation fault via gdb I need the core
> dump file.
> I have searched for variation of filename_core but have failed to find
> such a file on my system. I am running LINUX.
>
> Any clever ideas on how I can find this file or how else I can go about
> tracing the source of the fault?


The documentation gives instructions for how to debug MEX-files.

http://www.mathworks.com/help/matlab/matlab_external/debugging-c-c-language-mex-files.html#bq3wlv9-1

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com