Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Ads

Discussion Groups

Discussion Groups | Matlab DSP | Mex-file generation from C code

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

Mex-file generation from C code - Joel Ilao - Nov 28 13:24:00 2001



Hi!

I would like to know how to create mex-files from C
code. I have tried to compile one using MinGW but is
unsuccessful in doing so. Can someone help me with
this, or suggest a simpler method of compiling c code
into mex-file? Can somebody suggest a site
illustrating this kind of file generation?

Thanks!





(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

RE: Mex-file generation from C code - Jeff Winter - Nov 28 14:34:00 2001


Try the following link:
Is there a Tutorial for Creating MEX-files with Emphasis on C MEX-files?
http://www.mathworks.com/support/tech-notes/1600/1615.shtml?BB=1 Jeff
-----Original Message-----
From: Joel Ilao [mailto:]
Sent: Wednesday, November 28, 2001 1:25 PM
To:
Subject: [matlab] Mex-file generation from C code Hi!

I would like to know how to create mex-files from C
code. I have tried to compile one using MinGW but is
unsuccessful in doing so. Can someone help me with
this, or suggest a simpler method of compiling c code
into mex-file? Can somebody suggest a site
illustrating this kind of file generation?

Thanks!
_____________________________________
/groups.php3




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )

Re: Mex-file generation from C code - Joe Sababa - Nov 30 18:36:00 2001

Hi,
You have to do it from within Matlab. You need to have
a C compiler off a kind supported by Matlab (Visual,
Borland, ...) and you have to define the connection in
some .bat files at the <matlabroot>\bin directory
before you can use the Matlab mex command.

Joe
BSTEX - Equation viewer for Matlab
http://www.geocities.com/bstex2001

--- Joel Ilao <> wrote:
> Hi!
>
> I would like to know how to create mex-files from C
> code. I have tried to compile one using MinGW but
> is
> unsuccessful in doing so. Can someone help me with
> this, or suggest a simpler method of compiling c
> code
> into mex-file? Can somebody suggest a site
> illustrating this kind of file generation?
>
> Thanks!

__________________________________________________




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )