Error using icdevice: Failed to load shared library

2 Ansichten (letzte 30 Tage)
Charlie Berry
Charlie Berry am 14 Nov. 2019
Bearbeitet: Charlie Berry am 14 Nov. 2019
Hi all,
I have written a GUI in MATLAB which requires compiling so that it can be installed on a PC and run using the MATLAB MCR.
The GUI has been written in MATLAB 2018a, and compiles with no errors. The MATLAB compiler version I am using is version 6.6. I have also tried to install MATLAB Support for MinGW-w64 C/C++ Compiler (version 18.1.0).
Once I have copied this to the target PC (Windows 10) and try to run the executable, I receive the error:
'Error using icdevice - Failed to load shared library.'
I have determined that the line of code within my GUI that is causing this error is:
NA = icdevice('na_driver.mdd', naAddress);
I have included the 'Ag_driver.mdd' file within the 'Files required for your application to run' section of the MATLAB compiler, however this still does not appear to resolve this issue.
The instrument being used is an Agilent P9370A network analyser. I have also installed this MATLAB driver.
Do I need to make a call to another library, or am I compiling this incorrectly?
Many thanks in advance!

Antworten (0)

Kategorien

Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by