Error using loadlibrary with CRS toolbox

1 回表示 (過去 30 日間)
Aurelio Bruno
Aurelio Bruno 2019 年 7 月 4 日
回答済み: Chidvi Modala 2019 年 7 月 30 日
Hello,
I am trying to run a script that contains some CRS functions, but this error message keeps showing:
"Error using loadlibrary
There was an error loading the library "C:\Program Files (x86)\Cambridge Research Systems\CRS Toolbox for MATLAB\Tools\VSG\MEX\Calibrator.dll"
'C:\Program Files (x86)\Cambridge Research Systems\CRS Toolbox for MATLAB\Tools\VSG\MEX\Calibrator.dll' has different architecture than the host."
Any idea about how to get around this?

回答 (1 件)

Chidvi Modala
Chidvi Modala 2019 年 7 月 30 日
Errors occur when the shared library is not a valid library. MATLAB displays messages similar to the following:
There was an error loading the library "F:\mylibs\testlib.dll"
'F:\mylibs\testlib.dll' is not a valid shared library.
or
There was an error loading the library "/home/myname/testlib.so"
'/home/myname/mylibs/testlib.so' has different architecture than the host.
If the library has dependencies which MATLAB cannot find, then MATLAB displays messages as described in Invalid MEX File Errors.
To find library dependencies on Windows® systems, use the third-party product Dependency Walker. See How do I determine which libraries my MEX-file or stand-alone application requires? for information on using the Dependency Walker. Open your Calibrator.dll in Dependency Walker. You will see which .dll files need to be copied or installed with your Calibrator.dll.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by