I am trying to access the matlab engine from C++. I have followed the guide provided by mathworks to set up and compile their demo code using visual studio (http://www.mathworks.com/support/sol...ution=1-78077S). It compiles without errors however when i run the application i receive the message "This application failed to start because libmx.dll was not found. Re-installing the application may fix this problem".

Thanks in advance.