필터 지우기
필터 지우기

How to use code of Simulink Coder

조회 수: 1 (최근 30일)
Samet Sokel
Samet Sokel 2020년 7월 11일
댓글: Samet Sokel 2020년 7월 17일
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.

채택된 답변

Govind KP
Govind KP 2020년 7월 14일
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
Samet Sokel
Samet Sokel 2020년 7월 17일
thank you, it's probably going to solve my problem

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by