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 | Re: MEX Compiler and comments in C

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

  

Post a new Thread

Re: MEX Compiler and comments in C - Sergio Dominguez - Feb 20 14:50:00 2003



Hi all!

I am sending this as it looks like it is not only me. has anyone figured out
how to solve the comments problem with compiling s-functions with mex in linux?

namely:

If comments are written like // it crashes. Comments like /* comment */ compile OK.

Thanks again,

Sergio A las 02:41 del 14 de Feb de 2003, Bing <> dijo:
> Hi, Sergio,
>
> I met same problem. Did you figure it out?
> If you alread got an answer, would you mind to
> let me know.
>
> Thanks in advance!
>
> --
> Bing > ----- Original Message -----
> From: "Sergio Dominguez" <>
> Sent: Friday, December 20, 2002 8:14 AM
> Subject: MEX Compiler and comments in C > > Hi all!
> >
> > I am having problems compiling a c mex file with the lines that have
> comments
> > of the type
> >
> > // comment
> >
> > If they are written like
> >
> > /*comment*/
> >
> > everyting goes OK.
> >
> > I am using gcc as compiler for mex, and compiling in Windows everything
> went
> > fine, does anyone know what can be going on??
> >
> > Thanks,
> >
> > Sergio
> >
> >
> >
> --
If sex is a pain in the ass, you may be doing it wrong.




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