Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法获取内置 MATLAB m- 文件的 mex 文件?如果是,如何?如果不是,这是否意味着我必须自己编写 C 代码(哦不!!!)
Matlab 内置函数是闭源的。因此,您将无法获得它们的代码。但是,如果这样可以解决您的问题,则可以从 C 代码中调用 Matlab 函数。
根据您想要的功能,您可以在其他地方找到其中的一些。例如,线性代数运算在LAPACK中,您也许可以从OCTAVE的源代码中得到一些东西。