フィルターのクリア

Mixed programming of MATLAB and VC++

5 ビュー (過去 30 日間)
Maddila
Maddila 2012 年 9 月 27 日
I have requirment where i have to call MATLAB Function from Visual C, How will i do it? I mean which is the better way?
1)Conver MATLAB Code to C\C++ 2)Interface Visual C and MATLAB,,, In future I want to changee my MATLAB functions continuosly , sugget me which is the better way out of these two?

採用された回答

Sachin Ganjare
Sachin Ganjare 2012 年 9 月 27 日
Please check below link for interfacing Visual C++ with Matlab:
Hope it helps!!!
  1 件のコメント
Maddila
Maddila 2012 年 9 月 27 日
Hello, Mr sachin we have 2012 a version MATLAB And Visual C 6.0,,How i will integrate these,,, and which is fastest of the two methods I asked u in the first question

サインインしてコメントする。

その他の回答 (1 件)

Kapil Nagwanshi
Kapil Nagwanshi 2012 年 9 月 27 日
If you are using Visual Studio 2012 then the options are diffrent otherwise the simple steps given above has been utilized sufficiently. For any integration in cross product (MATLAB and VS). You need to create a project/application, next step to find the dirctory for matlab includes, third step is to link the library, 4th step is done by system automatically once you click on build all, and finally the finished output is ready to use.
Good Luck
  1 件のコメント
Maddila
Maddila 2012 年 9 月 27 日
Thanks Mr kapil for your response,, But My requirment is like I have to change MATLAB Functions continuosly so this method is perfect?,,or should i go with converting MATLAB Code to c\c++ using MEX,,, and which is the faster?do u have any idea?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeArray and Matrix Mathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by