Compiling MATLAB m-files for usage within c/c++ application

조회 수: 13 (최근 30일)
JUHWAN LEE
JUHWAN LEE 2012년 2월 8일
I've seen that it is possible to call MATLAB functions from VS2010(VC++). I was wondering if it is possible to create executable files using VC++ that do not require any MATLAB software on the computer (such as MCR installer)
I would like to create a program written in VC++ that calls some of the MATLAB libraries (which is converted into '.lib' by using 'deploytool'),
but is completely standalone and can run from any Windows computer without the need of any prior MATLAB software to have been installed.
Is there any way to create a standalone program from VS2010, regardless of MCR installer?

답변 (1개)

Friedrich
Friedrich 2012년 2월 8일
Hi,
the only possibility to get standalone code is the MATLAB Coder, which generates C/C++ code from MATLAB code. But this is limited to some funtions of MATLAB:
When working with MATLAB Compiler, you need the MCR. When working with the MATLAB engine, you need an installed MATLAB on the target PC.

카테고리

Help CenterFile 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!

Translated by