calllib issue... library not found...
45 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Chris E.
am 26 Jan. 2014
Kommentiert: Image Analyst
am 21 Okt. 2024
For some reason I have an error that says "Error using calllib Library was not found" yet I know it is in the MATLAB generals file, I even added the path manually to ensure my files are going there and it still can not find it. I was hoping to have some help if someone knows what the issue is, they would let me know what is up. Thanks!
5 Kommentare
Chris Bresee
am 5 Jan. 2022
Bearbeitet: Chris Bresee
am 5 Jan. 2022
Just for future people who may have a similar problem: Try adding the directory to your Windows environment system variables, either directly or in matlab, with: setenv('LibraryName', 'c:\Your\Install\Path\Library')
Akzeptierte Antwort
Walter Roberson
am 26 Jan. 2014
You are generating 32 bit libraries and trying to use them on a 64 bit MATLAB. Or the moon is still in the 6th house and Jupiter has not quite aligned with Mars. Take your pick; one is as good as another with the information you gave us.
Weitere Antworten (3)
Image Analyst
am 27 Jan. 2014
Worked for me. Can you go here C:\Program Files\MATLAB\R2013a\extern\examples\shrlib and tell us what files you see? Change the version number if you need to, and change Program Files to Program Files (x86) if you have a 64 bit system but are running 32 bit MATLAB. You should see shrlibsample.mexw64, shrlibsample.c, and shrlibsample.h.
0 Kommentare
Chris Bresee
am 5 Jan. 2022
Bearbeitet: Chris Bresee
am 5 Jan. 2022
I had a similar problem. I was adding .dll and .lib files to my matlab path, but had forgotten to add them to my Windows path. Try: setenv('CEDS64ML', 'c:\Your\Install\Path\CEDS64ML');
0 Kommentare
parisa
am 19 Okt. 2024
Error using calllib
Library was not found
1 Kommentar
Image Analyst
am 21 Okt. 2024
This is not an Answer. If you have any questions, then ask them, and attach your data and code to read it in with the paperclip icon after you read this:
Siehe auch
Kategorien
Mehr zu Call C from MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!