gugabrielle
gugabrielle

Reputation: 39

connent C++ to Matlab for plotting

I am trying to connect C++(32bitVS) to Matlab(64bit) in my laptop. I have already added the path under the VC++ directions and I have also activated the platform to x64. I have also added "libeng.lib libmx.lib libmex.lib libmat.lib" under linker>>input>>additional dependencies.

However, I have still the error: the program can't start because libeng.dll is missing from your computer

Upvotes: 0

Views: 107

Answers (1)

Aron Monszpart
Aron Monszpart

Reputation: 108

The OS should be able to find libeng.dll when running your program.

Either add libeng.dll's containing folder to the PATH environment variable, or as a hack, you can copy libeng.dll to next to the executable (the program you are running).

Upvotes: 2

Related Questions