Compiling MATLAB m-files for usage within c/c++ application
13 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
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.
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!