私の友人は、(画像処理ツールボックスを使用して) matlab で画像処理を行う優れた関数を作成します。この matlab コードを c コード (ソース コード) に自動生成する方法があり、それを .net がロードできる dll にラップできます。
using System;
using System.Runtime.InteropServices;
class PlatformInvokeTest
{
[DllImport("imp.dll")]
public static extern int puts(string c);
[DllImport("imp2.dll")]
internal static extern int _flushall();
public static void Main()
{
puts("Test");
_flushall();
}
}
ありがとう