Effacer les filtres
Effacer les filtres

How to use code of Simulink Coder

1 vue (au cours des 30 derniers jours)
Samet Sokel
Samet Sokel le 11 Juil 2020
Commenté : Samet Sokel le 17 Juil 2020
I wanna create a desktop application which serves user to tune model's parameters and see the results, with no need matlab & simulink. That's why I tried Simulink Coder to have C / C++ code of my model to use it as standalone but couldn't find how to use. There is so many resources how to generate code but nothing about how it is used. I hope you understand my aim, thanks for helping.
As a footnote; I tried the new toolbox 'Simulink Compiler' but I need to embed my model to another application, therefore it doesnt sound that sensible.

Réponse acceptée

Govind KP
Govind KP le 14 Juil 2020
Hi Samet,
From what I can tell from your problem, I think having a Shared Library which your dekstop application can access would be the solution. You can get more details for this workflow at this link.
You can also find the example for the same by typing the following command in MATLAB (You need an Embedded Coder license):
>> rtwdemo_shrlib
  1 commentaire
Samet Sokel
Samet Sokel le 17 Juil 2020
thank you, it's probably going to solve my problem

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink 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