MATLAB Code Integration in Visual Studio 2010 (C ++)

I saw that you can 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 (e.g. MATLAB Compiler Runtime (MCR))?

I would like to create a program written in VC ++ that calls some of the MATLAB functions, but is completely autonomous and can be launched from any Windows computer without the need for any previous MATLAB software.

Thanks.

+4
source share
1 answer

It is impossible to install without MCR in any documented way, and I even think that this is not legal.
However, there are a few examples, such as Imatest , which managed to do this in some of their earlier versions.

Edit (1)
I almost forgot about MatlabCoder . If you buy it, it can convert your Matlab code directly to c code. But it will not work with some tools, such as image processing.

+3
source

Source: https://habr.com/ru/post/1393607/


All Articles