MATLAB engine , C++ and MATLAB .dll files

8 views (last 30 days)
Caroline on 16 Aug 2013
I am using the MATLAB engine in C++ to read an excel file. If I want to make this C++ file into an executable and place it on a file server, do I need to install MATLAB on the file server? Or will it work if I use a static library link in C++ to link the .dll files from MATLAB to the .exe?

Accepted Answer

Jan on 16 Aug 2013
If you are calling the Matlab engine, Matlab has to be installed on the target machine. If you have the Compiler Toolbox you can build a standalone dll that you can call from within c++.

Sign in to comment.

More Answers (0)


Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!