What are the ways to generate dll files in matlab(2013b), for further use in CANoe?

1 回表示 (過去 30 日間)
Surbhi Goel
Surbhi Goel 2016 年 4 月 13 日
編集済み: Ahmed Rashid 2016 年 5 月 31 日
I am using MATLAB 2013B and CANoe 8.5, I have to integrate the model in Vector CANoe. For this, I am trying to generate the dll file so that I can easily simulate the model in Canoe. Please suggest ways through which we can proceed.
  1 件のコメント
Laurensius Christian Danuwinata
Laurensius Christian Danuwinata 2016 年 5 月 30 日
hey, I'm not sure but with build(Ctrl+B) you should be able to generate dll files directly, if the CANoe matlab interface exist in your model. However, I am facing the compatibility problem with build now .

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

回答 (1 件)

Ahmed Rashid
Ahmed Rashid 2016 年 5 月 30 日
編集済み: Ahmed Rashid 2016 年 5 月 31 日
If you would like to have the dll to run as a standalone dll, i.e. no dependency on the Matlab runtime, you must go with Matlab Coder
Check out the Matlab Coder App
or the command
codegen
Matlab Coder is restricted in the functions that it can compile into a dll or generate source files.
If you don't want to have restrictions on the functions that you want to generate, you must check the Matlab Compiler and Matlab Compiler SDK.
Using these two toolboxes the generated code will require the Matlab runtime engine, which you can download for free.

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by