MATLAB engine , C++ and MATLAB .dll files
4 次查看(过去 30 天)
显示 更早的评论
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?
Thanks!
0 个评论
采纳的回答
Jan
2013-8-16
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++.
3 个评论
Jan
2013-8-16
With the Compiler Toolbox you can build a dll (or standalone exe), that you can add to a c++ project and use on a target machine without a Matlab installation. However, you will need to install the (free) Matlab Compiler Runtime on the target machine. The Compiler Toolbox will be installed on the developing machine.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!