Real time on Windows?

9 visualizaciones (últimos 30 días)
C Kim
C Kim el 21 de En. de 2015
Respondida: Jan Houska el 27 de En. de 2015
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

Respuesta aceptada

Jan Houska
Jan Houska el 27 de En. de 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.

Más respuestas (1)

Image Analyst
Image Analyst el 21 de En. de 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".

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by