loadlibrary using default is not working
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Tom Lawson
am 20 Mär. 2015
Beantwortet: Gary Pajer
am 10 Jun. 2016
The Matlab example for loading a library:
loadlibrary ('shrlibsample')
fails with:
Index exceeds matrix dimensions.
Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 527)
Error in loadlibrary (line 263)
I'm using the trial version if it matters.
And I did:
addpath(fullfile(matlabroot, 'extern','examples','shrlib'))
before calling loadlibrary(...)
1 Kommentar
Gary Pajer
am 15 Mär. 2016
Same issue here. So far any library that I try to loadlibrary fails with "Index exceeds matrix dimensions."
Akzeptierte Antwort
Philip Borghesani
am 20 Mär. 2015
This looks like an installation issue with your compiler (you do have a c compiler installed?). I would first see if the mex command is working and set it up if needed. If that leads nowhere I would contact support, at a minimum a better error message should have been produced.
3 Kommentare
carlos thummanapally
am 13 Okt. 2015
hello..philip... i have the same problem.. and iam using windows 10 and Matlab 2015a version. what should i do?
Walter Roberson
am 13 Okt. 2015
carlos, I have not heard of anyone getting SDK 7.1 working with MATLAB R2015a on Windows 10. Possibly someone has it working and has not said so or described the method.
Weitere Antworten (1)
Gary Pajer
am 10 Jun. 2016
For later versions of OS X you have to make some changes to your Matlab setup.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!