Problem installing real-time windows target
7 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Jan Houska
2015-1-27
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 个评论
Jan Houska
2015-1-30
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?
KakachiShinobi AMster
2018-5-18
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!