使用Matlab DLL [英] Using Matlab Dlls

查看:78
本文介绍了使用Matlab DLL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我是Matlab程序员.我从.m文件中创建了一些Dll.
对于第一个测试,我的.m文件仅包含一个带有一个参数的函数.整个.m文件如下:

Hi everybody !

I am a Matlab Programmer. I create some Dlls from my .m files.
For the first test, my .m file contains only one function with one argument. the entire .m file is as follows:

function y=test(x)
y=x^2;



然后,通过使用以下命令,我创建了Dll和其他一些文件:





Then, by using the following command , I created the Dll and some other files:



mcc -B csharedlib:testlib test.m

推荐答案

查看 CodeProject上的文章.
Look at this article at CodeProject.


这篇关于使用Matlab DLL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆