Tag: loadlibrary

在C中创建有效的共享库

我正在做一些测试来学习如何创建共享库。 Code :: Blocks中共享库的模板就是这个 LIBRARY.C // The functions contained in this file are pretty dummy // and are included only as a placeholder. Nevertheless, // they *will* get included in the shared library if you // don’t remove them 🙂 // // Obviously, you ‘ll have to write yourself the super-duper // functions to include […]

将MATLAB中的指针参数传递给C-DLL函数foo(char **)

我正在编写一个从MATLAB调用的C-DLL。 是否可以使用const char **参数调用函数? 例如 void myGetVersion( const char ** ); C代码将是: const char *version=0; myGetVersion( &version ); 什么是相应的MATLAB-Code(如果可能的话)? 非常感谢你! PS:我认为这是帮助页面 ,但我找不到我的情况:-(