Utilize simulink generated code

1 次查看(过去 30 天)
Alex
Alex 2023-10-13
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