From: Youval on
using matlab 2010(a)
I tried the example for mex files.

mex -setup ... no problem there
mex yprime.c ... run fine

I then tried to use visual studio 2010, attached a process, but get some access violation errors. so I decided to stay with the matlab compiler, BUT now, when I try mex yprime.c I get this error message:

EDU>> mex yprime.c
Could Not Find C:\Program Files (x86)\MATLAB\R2010a Student\extern\examples\mex\yprime.exp
Could Not Find C:\Program Files (x86)\MATLAB\R2010a Student\extern\examples\mex\yprime.lib


I tried to do mex -setup again, but it did not help

my compiler configuration
mex.CompilerConfiguration
Package: mex
Properties:
Name: 'Lcc-win32'
Manufacturer: 'LCC'
Language: 'C'
Version: '2.4'
Location: 'C:\PROGRA~2\MATLAB\R2010A~1\sys\lcc'
Details: [1x1 mex.CompilerConfigurationDetails]


Anyone... How can I fix that?