toplama 23 dosyanın adı ben bunu matlabda yazdım sadece 2 sayıyı topluyo bunuda matlabın kendi dönüştürücüsünü kullanarak c koduna çevirdi ' c source , h header file, bide birkaç dll dosyası olurturdu ' ben bunlarla bi arayüz oluşturup herhengi bi bilgisayarda çalıştırabilirmyim sorum bu ? bu kodlar işe yararmı yani ?
#ifdef __cplusplus } /* End extern "C" block */ #endif
#ifdef __cplusplus extern "C" { #endif
static int mclDefaultErrorHandler(const char *s) { int written = 0; size_t len = 0; len = strlen(s); written = mclWrite(2 /* stderr */, s, sizeof(char)*len); if (len > 0 && s[ len-1 ] != '\n') written += mclWrite(2 /* stderr */, "\n", sizeof(char)); return written; }
#ifdef __cplusplus } /* End extern "C" block */ #endif
/* This symbol is defined in shared libraries. Define it here * (to nothing) in case this isn't a shared library. */ #ifndef LIB_libtoplama23_C_API #define LIB_libtoplama23_C_API /* No special import/export declaration */ #endif