Utilize simulink generated code
2 views (last 30 days)
Show older comments
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 Comment
Walter Roberson
on 21 Oct 2023
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.)
Answers (1)
Mark McBroom
on 21 Oct 2023
You could try Simulink Compiler. https://www.mathworks.com/products/simulink-compiler.html
0 Comments
See Also
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!