How to use code of Simulink Coder
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Samet Sokel
il 11 Lug 2020
Commentato: Samet Sokel
il 17 Lug 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.
0 Commenti
Risposta accettata
Govind KP
il 14 Lug 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
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!