Real time on Windows?
3 views (last 30 days)
Show older comments
People tend to use the term "Real-time" differently. I get skeptical when I hear realtime and windows in one sentence. when defining real time as: a guarantee, that a calculation step is always made within a clear defined time period.
How much real time is matlab then when running on windows?
How does Matlab tell Windows not to interrupt the real time applikation it is running?
thx
0 Comments
Accepted Answer
Jan Houska
on 27 Jan 2015
Real-Time Windows Target http://www.mathworks.com/products/rtwt is able to run Simulink models in real time as defined in your question. To achieve this, the model is first compiled to a real-time executable (using Simulink Coder). Then, the executable is being run by a real-time kernel at high priority levels, where the real-time kernel ensures that the executable always gets CPU when needed while ensuring that its execution is not interrupted by another Windows application or the operating system itself.
0 Comments
More Answers (1)
Image Analyst
on 21 Jan 2015
You can set the process priority in the Task Manager (type control-shift-Esc) to "Realtime" - just right click on the process to get the menu. However I don't really recommend it since it won't pay attention to anything else. I don't even think it will pay attention if you click on some other icon on your desktop. I'd use it with caution in a very robustly written program. If your program does not have a good way to lower the priority or exit then you might have to reboot. I think it's safe to set the priority to "High".
0 Comments
See Also
Categories
Find more on Target Computer Setup in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!