Configuring my Matlab compiler as LCC doesn't work. I can't load fs2000k2_dynamic.mexw32 even directly from Matlab.
George, Sebastien, You should first verify that the DLLs createed with use_dll work indeed with Matlab before attemping to debug k_order_perturbation.cpp
Even if it isn't that, the problem is most likely with the calling of Dynamic DLL. This is the only part that is different under Windows and Linux.
Best
Michel