matlab-engine Questions

3

Solved

The MATLAB Engine API allows accessing MATLAB functionality from a C program. To set up a MATLAB Engine session, one calls the engOpen function. By default, this launches a new instance of MATLAB, ...
Token asked 26/9, 2016 at 12:56

1

I am having some trouble utilising multiple matlab engines from within a piece of parallelised code. I can successfully spawn multiple engines using engOpenSingleUse but am unable to communicate wi...
Thriftless asked 24/7, 2014 at 1:51

2

Solved

In a C project i'm building in Visual Studio (C++ 2010 Express), I use the MatLab engine to allow for a user to provide a custom function to use within the project. The problem is that this code al...
Gatefold asked 21/1, 2019 at 9:51

4

Solved

I am trying to run the example code from the MATLAB Doc, but when I try to build the project in Visual Studio I get this error fatal error C1083: Cannot open include file: 'engine.h': No such file...
Firstrate asked 10/1, 2012 at 8:35

1

Solved

I've installed the official MATLAB Engine by following the instructions from the answer to Anaconda install Matlab Engine on Linux to an Anaconda virtual environment running Python3.5. I can now im...
Lattie asked 29/6, 2017 at 11:20

2

It would be helpful if you could provide some guidance on how to compile c++ source code files in an Ubuntu environment, using the MATLAB Engine with g++.
Heptarchy asked 21/3, 2017 at 20:17

2

Solved

I am currently working on a project where I need do some steps of processing with legacy Matlab code (using the Matlab engine) and the rest in Python (numpy). I noticed that converting the results...
Steato asked 8/12, 2015 at 12:23

3

Solved

I write a C++ program whose only purpose is to call Matlab code. I have a main routine, which read data in a file (matrices with high dimension 90000*24) into C++ structures pass these structure...
Pygidium asked 6/11, 2014 at 8:28

1

Solved

I'm working on a C program that needs to repeatedly access a large Matlab data structure. This is a graphics intensive program using OpenGL so it has to be fast. Repeatedly accessing this data str...
Corneille asked 9/10, 2014 at 19:17

3

Solved

I'm developing an application in c++. One of the components of the application uses Matlab (via the Matlab engine) for data processing. At the same time, a data acquisition system is streaming data...
Kid asked 19/3, 2012 at 21:32

4

I tried to call matlab from a .cpp file. I used the following command to compile engdemo.cpp which includes "engine.h" g++ engdemo.cpp -I/usr/local/matlabR2010a/extern/include -L/usr/local/matlab...
Sukkah asked 13/10, 2011 at 16:54

1

Solved

I am sending data from OpenCV matrices to matlab using C++ and Matlab Engine. I tried to convert from column major to row major but I am really confused on how to do that. I cannot understand how t...
Galton asked 4/6, 2012 at 15:34

2

I want to call MATLAB function in my C++ project. I'm using Matlab R2010a and Visual Studio 2010 First I created a simple matlab function: function y = foo(x) y = x+1; and then I used matlab ...
Rhoea asked 21/6, 2011 at 17:12

1

Solved

I'm trying to send simple string commands to the Matlab engine. This is my code (there is no Matlab API related code anywhere else in my code, except for the #include "engine.h" line): void Matla...
Percussion asked 11/3, 2012 at 12:35

3

Solved

I want to send a Matrix to Matlab using "engine.h" in c++ code. The fact is that I have the data inside a cv::Mat, and I need to sent a mxArray. I tried to use this expression but it doesn´t work: ...
Tamarau asked 12/1, 2012 at 11:19

2

i have installed matlab on my system and also have installed the CUDA SDK for windows. however i am not able to compile any .cu files. I have included the nvmex script file in the bin directory of ...
Exothermic asked 6/9, 2011 at 15:56

2

Solved

I'm trying to call the Matlab engine programatically from a C program on Linux (Matlab r2009a, Ubuntu 9.10). I've got my own code (which works in Windows), but for now I'm just trying to get the M...
Aubrey asked 3/1, 2010 at 3:31

2

Solved

I am triyng to implement Matlab in a c++ program. http://www.cl.cam.ac.uk/~sjeh3/wii/ The application is using gtk a wii mote lib and the Matlab Camera Calibration Toolbox (http://www.vision.caltec...
Amaliaamalie asked 23/2, 2010 at 16:42

4

Solved

I have discovered through trial and error that the MATLAB engine function is not completely thread safe. Does anyone know the rules? Discovered through trial and error: On Windows, the connectio...
Reuven asked 29/10, 2008 at 21:8

2

Solved

It seems that are several ways to call matlab in C C++ and to call C C++ in matlab. While I try to list them here, please point it out If I miss something. To call C C++ in matlab, there are...
Cece asked 16/10, 2009 at 8:39
1

© 2022 - 2024 — McMap. All rights reserved.