S
S
scoped2016-03-11 15:38:06
C++ / C#
scoped, 2016-03-11 15:38:06

How to return the result of a matlab function in c++?

Hello, I have a data file. How can you execute a matlab function, for example, "eci2lla", with data from a file, without running matlab itself using its api from c++?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
malcontent, 2016-03-17
@malcontent

It is not possible to execute a matlab function without running matlab. But it is possible to generate C-code from a function written in matlab. Check out MATLAB Coder.
The second option is mex files. It's something like a dll. You can run C/C++ code from matlab.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question