From: Milan on 29 Jun 2010 23:54 I know almost nothing about mex etc, but I need to use the SDPT3 optimization tool. I managed to install it yesterday and run the demo file sqptdemo.m, to check if it is working. However, now the problem occurs: " >> sqlpdemo Mex file entry point is missing. Please check the (case-sensitive) spelling of mexFunction (for C MEX-files), or the (case-insensitive) spelling of MEXFUNCTION (for FORTRAN MEX-files). ??? Invalid MEX-file 'C:\Windows\system32\input.dll': . Error in ==> sqlpdemo at 19 feas = input('using feasible starting point? [yes = 1, no = 0] '); " I have 2 versions of C compilers available: [1] Lcc-win32 C 2.4.1 in C:\MATLAB\R2010a\sys\lcc [2] Microsoft Visual C++ 2008 Express in C:\Program Files\Microsoft Visual Studio 9.0 but neither works, so I believe it has nothing to do with that... Can anyone please help me with this one? As I mentioned, I know nothing about mex so if you can help me, please supply the details :) Greatly appreciated!
From: James Tursa on 30 Jun 2010 02:03 "Milan " <stefan.tx(a)gmail.com> wrote in message <i0ef5e$pan$1(a)fred.mathworks.com>... > I know almost nothing about mex etc, but I need to use the SDPT3 optimization tool. > I managed to install it yesterday and run the demo file sqptdemo.m, to check if it is working. However, now the problem occurs: > " > >> sqlpdemo > Mex file entry point is missing. Please check the (case-sensitive) > spelling of mexFunction (for C MEX-files), or the (case-insensitive) > spelling of MEXFUNCTION (for FORTRAN MEX-files). > ??? Invalid MEX-file 'C:\Windows\system32\input.dll': . It appears to me that MATLAB is incorrectly trying to run the file input.dll in the Windows system32 directory as a mex routine, rather than running the built-in input function. I can think of two possible reasons: Your MATLAB path is screwed up, or your current directory happened to be the Windows system32 directory when you tried to run the program. Since mex routines take precedence, and since it found an input.dll file in the directory, MATLAB tried to run this as a mex routine instead of running the built-in function. So check your MATLAB path, and also make sure your current directory is not the Windows system32 directory. James Tursa
|
Pages: 1 Prev: using symbolic toolbox Next: Multiplying row matrix elements |