From: Alexander von Grafenstein on
Hello,
i created a simulink model, incorporating a c-s-function. inside, i'm calling the nonlinear least-squares-solver levmar, which in turn depends on lapack. for simulation, i integrated the pre-compiled win32-libraries of clapack from www.netlib.org. the simulation runs fine, so i now i want to run the model on a xpc-target.
Here i'm stuck. the win32-libraries throw an error, which i had to expect. As i have read, matlab/simulink is using lapack/blas itself, so i was wondering if it is possible to access it's libraries. for win32, there are the libraries libmwblas.lib and libmwlapack.lib, although i have some problems with name mangling, which i still have to resolve. are there any counterparts, i could use on xpc-target?
Alternatively, can someone give me a hint, how to integrate a free version of lapack? Unfortunately, i'm not too convenient with compilation using make-files and regarding clapack, i only found tutorials for compiling for windows. so i'm bit lost here.
Maybe someone has done something similar already or can even send me compiled libraries, which work on xpc?

Help would be greatly appreciated!

Best regards, Alexander v. Grafenstein


some background on my system:
I'm using Matlab 2009b, Visual Studio 2008 as compiler; XPC-Target is an Intel-Celeron