在win11上运行matlabR2022b的实时仿真遇到错误
    조회 수: 33 (최근 30일)
  
       이전 댓글 표시
    
simulink运行real-time syn时报错
- 'untitled/Real-Time Synchronization' 中的 S-Function 'sldrtsync' 报告错误: Hardware timer cannot be allocated. Real-time kernel cannot run.
目前在网上没有找到解决方案,求问该如何解决
ps:在这之前有报错和hyper-v冲突,将hyper-v手动停止运行后就出现了上述错误
댓글 수: 0
답변 (1개)
  Vandit
      
 2024년 9월 28일
        Hello zhang,
The error you are encountering is often due to hardware or software incompatibility between the real-time kernel and either the operating system or the computer's mainboard, which results in the inability to allocate a hardware timer. To ensure compatibility between the real-time kernel and the latest operating system updates, please consider using the most recent releases of MATLAB and Simulink Desktop Real-Time, as improvements are continually made with each new version.
You might find it helpful to refer to the MATLAB Answers thread below, which discusses a similar issue:
Hope this helps.
댓글 수: 0
참고 항목
카테고리
				Help Center 및 File Exchange에서 Simulink Real-Time에 대해 자세히 알아보기
			
	제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

