Filter löschen
Filter löschen

How to use code of Simulink Coder

1 Ansicht (letzte 30 Tage)
Samet Sokel
Samet Sokel am 11 Jul. 2020
Kommentiert: Samet Sokel am 17 Jul. 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.

Akzeptierte Antwort

Govind KP
Govind KP am 14 Jul. 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 Kommentar
Samet Sokel
Samet Sokel am 17 Jul. 2020
thank you, it's probably going to solve my problem

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by