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

2 次查看(过去 30 天)
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
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 CenterFile Exchange 中查找有关 MATLAB Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by