Communication between C++ and Matlab

4 ビュー (過去 30 日間)
Thomas Pallacci
Thomas Pallacci 2021 年 4 月 13 日
回答済み: Mario Malic 2021 年 4 月 13 日
Hi,
I need to call some Matlab Functions from a C++ dll. This dll is loaded by an external software. I've tried to use the Matlab Engine, but it doesn't work. Indeed, both the external software and Matlab need to load some dlls (from their own folders) having the same name, but different dimensions. According to the Technical Support I should open two different processes and establish an inter-process communication. Now, I wonder which kind of communication strategy I should use. Maybe I could open Matlab as COM Automation server, but I don’t know how, since on the Mathwork site there are no examples. Can someone suggest some ideas or some simple examples?
Thank you for your time

回答 (1 件)

Mario Malic
Mario Malic 2021 年 4 月 13 日
Hello,
Scroll down the input arguments, there's an automation option https://ch.mathworks.com/help/matlab/ref/matlabwindows.html

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by