Clear Filters
Clear Filters

How to use code of Simulink Coder

1 view (last 30 days)
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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!