MATLAB Answers

Failed to load library libPort_ExecLoader.dll during FPGA-in-the-loop

3 views (last 30 days)
dyyyyyl on 28 Mar 2017
Edited: Carl on 4 Apr 2017
Hi, I'm trying to do FPGA in the loop through Ethernet with my Xilinx ML505(Virtex-5) Board. Anyway when I want to build the programming file on the final step of filWizard, I got the following error in an external command window:
Failed to load library libPort_ExecLoader.dll because of the module cannot be found.
It's reasonable that this is due to some errors in the Xilinx ISE. But I've tested with the ISE alone and it works very well for synthesis, mapping, routing and finally the bit file is also generated (earlier I also got many projects done in ISE so I don't think ISE is having any problem). I don't know now what kind of things go wrong. I'd really appreciate if you could give me some thoughts, thanks!
My system is Windows 8 with Matlab 2016a and Xilinx ISE 14.4.
Best regards, Cy

Answers (1)

Carl on 4 Apr 2017
Edited: Carl on 4 Apr 2017
The error states that the libPort_ExecLoader.dll library could not be found. This looks like a Xilinx library. I would recommend repairing or reinstalling your Xilinx tools.
If the problem still persists, then you should check your system's shared library path, and check whether that specific DLL is included on the path. If not, this is likely why MATLAB is unable to load it. You can manually alter your path to point to that library. See the following page for an example on how to add to your path:
In your case, instead of adding the directory of MATLAB binaries, you would add a path to libPort_ExecLoader.dll

Community Treasure Hunt

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

Start Hunting!

Translated by