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!