Real time on Windows?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Jan Houska
2015-1-27
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 个评论
更多回答(1 个)
Image Analyst
2015-1-21
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Target Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!