Questions tagged [matlab-engine]

MATLAB Engine is a library to call MATLAB® software from standalone programs, for example written in C/C++ or Fortran.

While files are DLLs encapsulating C/C++ or Fortran code to be used by a main program written in MATLAB, sometimes the inverse is necessary: A main program in C/C++ or Fortran needs to access MATLAB's capabilities. This can be done using MATLAB Engine, which is documented in the MATLAB online help.

Note that a second way to use MATLAB from C/C++ or Fortran is to turn the MATLAB code it be used into a library using MATLAB Compiler.

Questions should have this tag if they are about the use of MATLAB Engine specifically. If the issue also occurs with standalone MATLAB the tag should be avoided and be used instead.

183 questions
-1
votes
1 answer

Explain the use of memcpy (MatLab engine)

I have a background in running simulations in MatLab, and am currently learning C++ to run the simulations whilst still using MatLab to plot through the MatLab engine. The code below shows an example piece of code I have written to generate a…
SeBeast
  • 47
  • 5
-1
votes
1 answer

Connection lost between C++ and Matlab Engine

I have a mission to call Matlab functions from C++ poject. I know there are several ways to do that, I prefer to use it through Matlab Engine. I have several m-files work perfect in Matlab enviroment. mymat.m function myfig() figure; end I…
Vugar
  • 99
  • 1
  • 5
-1
votes
1 answer

how to call a matlab/octave function from GTK+2 C code

how a built-in matlab/octave function can be called from a GTK+2 C code. i know how to call octave functions from C code by Mex files, but i don't know how i can call matlab/octave function from GTK+2 C code. is it possible to use Mex files to call…
user3132152
  • 103
  • 4
1 2 3
12
13