Matlab gui into .dll
显示 更早的评论
采纳的回答
Kaustubha Govind
2012-4-25
7 个评论
You mean by the NE Builder ? I found an option - 'deploytool'. I think I am right, iSn't?
Builder NE is an extension of MATLAB Compiler used to build .NET components from MATLAB code. If you need generic C/C++ shared libraries, MATLAB Compiler is sufficient. And yes, deploytool is the tool that you need to use.
Ya Thankyou.
I used the Matlab Compiler and then I got the dll out of my m file. But can't I convert my fig file(the output product of my m file) directly into dll? If I add my fig file alone, the build option in the deploytool window is getting disabled.
Is ther anyother way?
Hi Raj,
to give a useful answer you will need to tell us in a few more words what you want to do: the compiler converts a MATLAB file (.m) into a generic C/C++ DLL. To this end it includes all necessary files (like the .fig file). ...
Titus
All right. So do I need to create any object to call my m file function from Visual C++ ? If so could you tell me how shall I create the object and the class for my m file in matlab
Maybe start with an example from the doc:
http://www.mathworks.com/help/releases/R2012a/toolbox/compiler/f2-995712.html#f2-1009231
after that it should be easy to call your function instead of the one in the demo.
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
标签
另请参阅
2012-4-25
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
