Launch MCR in a C# code
古いコメントを表示
Hello,
I would like to execute Matlab functions in a C# code (VS2010, W7). My C# code is as follows:
// Declaration
DllImport(@"C:\Program Files\MATLAB\MATLAB Compiler Runtime\v715 bin\win32\libeng.dll", CallingConvention = CallingConvention.Cdecl)]
static extern IntPtr engOpen(string startcmd);
// Call MCR
IntPtr engine = engOpen(null);
Matlab is launched but however crashs immediately without any log or information...
Any idea?
Thanks for your help!
採用された回答
その他の回答 (2 件)
カテゴリ
ヘルプ センター および File Exchange で MATLAB Compiler SDK についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!