MATLAB: Problems Using Matlab in C++

MATLAB: Problems Using Matlab in C++

cMATLAB

Hi everyone,
I’m trying to code a C++ program to use MatLab to calculate DFT for my application (without using MEX). I’ve tried the following means to link to MatLab libraries: – Adding the include path to the header files and #include the proper header files – Linking to the appropriate .lib files. ‘libeng.lib’ & ‘libmx.lib’ – Adding the path to the .dll files.
I am using Visual Studio 2010. When I tried running my application, I get a cryptic error message from MatLab that says: “The application was unable to start correctly. 0xc000003b”.
I can’t seem to find anything at all. Any help is appreciated. Thanks

Best Answer

  • I would first try running the Windows Dependency Walker
  • Add a Comment

    Your email address will not be published. Required fields are marked *