What are the ways to generate dll files in matlab(2013b), for further use in CANoe?
1 次查看(过去 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
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
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.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!