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

3 vues (au cours des 30 derniers jours)
Surbhi Goel
Surbhi Goel le 13 Avr 2016
Modifié(e) : Ahmed Rashid le 31 Mai 2016
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 commentaire
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 .

Connectez-vous pour commenter.

Réponses (1)

Ahmed Rashid
Ahmed Rashid le 30 Mai 2016
Modifié(e) : Ahmed Rashid le 31 Mai 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.

Catégories

En savoir plus sur MATLAB Coder dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by