Thread Subject: problem with setting up mex

Subject: problem with setting up mex

From: Jacek

Date: 6 Jan, 2009 18:41:02

Message: 1 of 2

I am having problems compiling the example file yprime.c. Using the provided lcc compiler, I type

mex yprime.c

and get the following error message:

>> mex yprime.c
Could Not Find C:\Program Files\MATLAB\R2007b\extern\examples\mex\yprime.exp
Could Not Find C:\Program Files\MATLAB\R2007b\extern\examples\mex\yprime.lib

despite the files being in the working directory. What could be causing this problem? Note: my path has a space in it.

Thanks,
Jacek

Subject: problem with setting up mex

From: Guoliang Zhang

Date: 6 Jan, 2009 19:01:34

Message: 2 of 2

you can use the -v flag to see what is the reported error.

mex -v yprime.c

hth

Leong

"Jacek" <dmochowski@gmail.com> wrote in message
news:gk08jt$6c$1@fred.mathworks.com...
>I am having problems compiling the example file yprime.c. Using the
>provided lcc compiler, I type
>
> mex yprime.c
>
> and get the following error message:
>
>>> mex yprime.c
> Could Not Find C:\Program
> Files\MATLAB\R2007b\extern\examples\mex\yprime.exp
> Could Not Find C:\Program
> Files\MATLAB\R2007b\extern\examples\mex\yprime.lib
>
> despite the files being in the working directory. What could be causing
> this problem? Note: my path has a space in it.
>
> Thanks,
> Jacek

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com