Windows Real-Time Target - Serious Lag

조회 수: 2 (최근 30일)
Arne
Arne 2014년 10월 8일
댓글: Muhammad Khurram Saleem 2016년 10월 6일
I experience serious lag-behind of a minimalistic Simulink model containing only a Real-Time Synchronization Block. As far as I can tell the problem only occurs on our Windows 7 SP1, x64 machine with i7 and 8GB of RAM. Another machine (Win 7, x64, 8GB RAM, i5) does not show this problem.
The model is configured for a 0.1sec sample time, which should be well within the capabilities of the hardware.
The Windows Real-Time Kernel reports version 4.4.0, shipped with MATLAB 2014a.

답변 (2개)

Sandip Kumar
Sandip Kumar 2014년 10월 9일
This is something not expected. One possible cause for the slow performance would be the 'CPU Power Management' options in BIOS, which interferes with the real-time kernel hence leading to slow performance.
Disable the power management options specific to your CPU in BIOS options and re-run the Simulink model with the block.
Thanks, Sandip, MathWorks
  댓글 수: 1
Alireza Manzoori
Alireza Manzoori 2015년 12월 17일
I am experiencing a similar problem, explained here . Did this solution work?

댓글을 달려면 로그인하십시오.


Suneesh
Suneesh 2014년 10월 10일
1. Are you using the Synchronization block and running the model in Normal mode? Perhaps you could try the external mode and see if you notice the lag:
2. When you enable "Show missed ticks port" does it indicate any missed ticks?
  댓글 수: 1
Muhammad Khurram Saleem
Muhammad Khurram Saleem 2016년 10월 6일
Hi, Iam having the same problem. No of missed ticks stays @ zero. still simulations are running slower than real time .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by