Utilize simulink generated code

조회 수: 7 (최근 30일)
Alex
Alex 2023년 10월 13일
댓글: Walter Roberson 2023년 10월 21일
Hello,
I want to share Matlab scripts with my colleagues to let them test what I'm developing. One of these scripts call Simulink for some computation.
The problem is that my average collegue has only the Matlab licence, therefore I need to get rid of Simulink.
Is there a way to do that?
I tried to generate the code from Simulink and build an s-function to utilze it... but I don't know how to call the compiled s-function from Matlab (I don't even know if it is possible).
Thanks,
Alex
  댓글 수: 1
Walter Roberson
Walter Roberson 2023년 10월 21일
If this is to be short duration (less than a month), then you could consider getting a Trial license of Simulink and required packages.
However, I see you have marked R2018b; Trials are probably not available for versions that old. You might want to consider getting a trial of R2023b for you and your colleagues (Mathworks is always happy to have the opportunity to try to convince you to purchase newer releases ;-) )
@Mark McBroom referred to Simulink Compiler, which is certainly a possibility. However if you are not under Software Mainteance Service, eligible for current upgrades, then you would not be able to purchase Simulink Compiler for a version as old as R2018b; if R2018b is the most recent release you are eligible to run then you would be required to purchase new for R2023b (if you are not currently covered by SMS but were within the last 4 years then Mathworks might permit you to instead pay retroactive fees.)

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

답변 (1개)

Mark McBroom
Mark McBroom 2023년 10월 21일

카테고리

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

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by