Simulink HDL Workflow Advisor中“Set Target Reference Design”失败

更新 Aug 29, 2024

适用于

软件

  • MATLAB
  • Simulink
  • LabVIEW FPGA Module

问题详述

我想从Simulink HDL模型生成FPGA bitfile。在HDL Workflow Advisor1.2 Set Target Reference Design中,单击Run This Task后,HDL Workflow Advisor返回错误:
Failed Object reference not set to an instance of an object.

Error using PostCallbacks.CustomReferenceDesignCallback
Object reference not set to an instance of an object.

Error in hdlturnkey.plugin.runCallbackCustomizeReferenceDesign

Error in hdlturnkey.plugin.ReferenceDesign/customizeReferenceDesign

Error in hdlturnkey.plugin.ReferenceDesignList/reloadRDPlugin

Error in hdlturnkey.ip.HDLTargetDriver/reloadReferenceDesignPlugin

Error in hdlturnkey.ip.HDLTargetDriver/validateTargetReferenceDesign

Error in setTargetReferenceDesign

Error in Simulink.ModelAdvisor/executeCheckCallbackFct

Error in Simulink.ModelAdvisor/run

Error in Simulink.ModelAdvisor/runCheck

Error in ModelAdvisor.Node/runTaskAdvisor
为什么我会收到上述错误呢?

解决方案

多个步骤可以解决此问题:
  • 如果MATLAB不是以管理员身份运行的,请确保在LabVIEW.exe Properties的Compatibility中未选中Run this program as an administrator
截屏.JPG
  • 如果MATLAB是以管理员身份运行的,请确保在LabVIEW.exe Properties的Compatibility中选中了Run this program as an administrator
截屏.JPG