How can I run the binary generated by Real-Time Windows Target without the Matlab environment???

1 view (last 30 days)
Hi,
I am trying to run a model in real-time on a Windows PC. For this I use the Real-Time Windows Target combined with the Simulink Coder. Unfortunately the binary has to be loaded in Matlab or Simulink and run from it. I would like to deploy my application to other users who does not have Matlab. Is this possible? I mean, the kernel can be deployed and the binary can be run without Matlab environment? (i.e: .NET framework)? Thank you for your answers.
Best regards, Csaba
  1 Comment
giga
giga on 23 Apr 2016
Hi Csuros,
Can you please tell me how to run the binaries (generated for embedded real time using ert.tlc) within the Matlab platform? I tried to execute the binaries directly from my operating system but turns out it does nothing except printing that the binary will run forever.

Sign in to comment.

Accepted Answer

Jan Houska
Jan Houska on 14 Nov 2013
What you are trying to do is currently not possible. The binaries generated by Real-Time Windows Target require MATLAB and Simulink to run.
  2 Comments
Csuros Csaba
Csuros Csaba on 14 Nov 2013
Thank you Jan!
I have the Embedded Coder installed as well. Is there any way to run the code generated by Embedded Coder in real-time on a Windows PC? (I know that the windows is not a real-time OS)
Best regards,
Csaba
Jan Houska
Jan Houska on 14 Nov 2013
As far as I know, not out-of-the-box. You will need some source of real time (ar, at least, something close to real time) and this is not provided for Windows. You can, however, try to call the generated code from a real-time source yourself, e.g. using Windows timers or such. This would not be true real-time by any means, neither the performance will be very good, but depending on your application, it may be good enough.

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!