📄 matlabdef.cpp
字号:
public class matLib
{
//the define to see the other one
//mlfPrint(string)
[DllImport( "libmatlb.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern int mlfPrintf(string fmt);
//only for test, will be deleted
//mlfPrint(format, string)
[DllImport( "libmatlb.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern int mlfPrintf(string fmt,string str);
//only for test, will be deleted
//mlfPrint(format, double)
[DllImport( "libmatlb.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern int mlfPrintf(string fmt,double db);
[DllImport( "libmatlb.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern void mlfPrintMatrix(mxArray[] ri);
[DllImport( "libmatlb.dll", CallingConvention=CallingConvention.Cdecl)]
public static extern IntPtr mlfDoubleMatrix(int m, int n, double[] pr, double[] pi);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -