Matlab gui into .dll

 採用された回答

Kaustubha Govind
Kaustubha Govind 2012 年 4 月 25 日

0 投票

Yes, you can using the MATLAB Compiler product. See MATLAB Compiler - Libraries.

7 件のコメント

Raj Shankar
Raj Shankar 2012 年 4 月 25 日
You mean by the NE Builder ? I found an option - 'deploytool'. I think I am right, iSn't?
Kaustubha Govind
Kaustubha Govind 2012 年 4 月 25 日
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.
Raj Shankar
Raj Shankar 2012 年 4 月 25 日
Ya Thankyou.
Raj Shankar
Raj Shankar 2012 年 4 月 30 日
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?
Titus Edelhofer
Titus Edelhofer 2012 年 4 月 30 日
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
Raj Shankar
Raj Shankar 2012 年 4 月 30 日
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
Friedrich
Friedrich 2012 年 4 月 30 日
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 ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by