What are the ways to generate dll files in matlab(2013b), for further use in CANoe?
1 view (last 30 days)
Show older comments
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 Comment
Laurensius Christian Danuwinata
on 30 May 2016
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 .
Answers (1)
Ahmed Rashid
on 30 May 2016
Edited: Ahmed Rashid
on 31 May 2016
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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!