Problem installing real-time windows target

12 visualizaciones (últimos 30 días)
Peter Holland
Peter Holland el 24 de En. de 2015
Comentada: KakachiShinobi AMster el 18 de Mayo de 2018
I am running 64-bit matlab 2014b on a 64bit PC with windows 8.1. When I try installing real-time windows target using rtwintgt -setup I get the following error message:
>> rtwintgt -setup
Error using rttool (line 19) Real-Time Windows Target engine error: Error getting Real-Time Windows Target kernel handle. A device attached to the system is not functioning.
Error in RT.Kernel/get.Version (line 57) y = rttool('Kernel.getVersion', this.Host);
Error in RT.Kernel/isInstalled (line 200) y = all(~isnan(this.Version));
Error in rtwintgt>rtwt_setup (line 90) if ~isInstalled(k)
Error in rtwintgt (line 67) retval = feval(subfn, prompt);
I have tried searching for a solution but have not seen this error reported before, has anyone else encountered it or know a way around it?
Best Wishes
Peter

Respuestas (2)

Jan Houska
Jan Houska el 27 de En. de 2015
This generally means that the real-time kernel is unable to find an usable timer hardware that would drive its timing engine. This is usually because of combination of the operating system and hardware, mostly CPU. What CPU do you have?
  2 comentarios
Peter Holland
Peter Holland el 27 de En. de 2015
Thank you for your response, this machine has an intel core i7-4810MQ processor. Is this a known issue as I couldn't see anything in the documentation?
Best Wishes
Peter
Jan Houska
Jan Houska el 30 de En. de 2015
No, this is not something known. The computer is a laptop, isn't it? The following investigations steps may be difficult to do on a laptop, but I'm posting them anyway.
Please go to the BIOS settings of your computer and look for HPET, or High Performance Event Timer, or Event Timer, or some similar item - these are just different names for the same hardware. This is the hardware component that Real-Time Windows Target uses to driver its real-time kernel on Windows 8.1 and it must be enabled for the kernel to be able to run. If it is disabled in BIOS, enabling it should help.
If it is already enabled or if there's no item for enabling it, then it's starting to get really difficult. What is the manufacturer and model name of your computer?

Iniciar sesión para comentar.


KakachiShinobi AMster
KakachiShinobi AMster el 18 de Mayo de 2018
helle to the mathworks community . i have to much problems with my matlab . i buil the pid model contoller on simulink slx file and try to wash a real time simulation by usind the real time windows target.. i succefully installed the rtwintgtkerlen and load my file with the (rtwinconfigset('filename') but when i run a simulation on simulink ints instantly shutdown my machine . whitoutht no warning.. i used the matlab 2014a

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by