C アプリケーション コードの main 関数で C ライブラリ libmatrix の初期化関数を呼び出します。
... /* Call the library initialization routine and ensure the * library was initialized properly. */ if (!libmatrixInitialize()) { fprintf(stderr, "An error occurred while initializing: \n %s ", mclGetLastErrorMessage()); return -2; } else { /* Call the library function(s) for your application */ ...
/* mclTerminateApplication shuts down MATLAB Runtime. * You cannot restart it by calling mclInitializeApplication. * Call mclTerminateApplication once and only once in your application. */ mclTerminateApplication(); return 0; }
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.