loadlibrary using default is not working
15 次查看(过去 30 天)
显示 更早的评论
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 个评论
Gary Pajer
2016-3-15
Same issue here. So far any library that I try to loadlibrary fails with "Index exceeds matrix dimensions."
采纳的回答
Philip Borghesani
2015-3-20
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 个评论
carlos thummanapally
2015-10-13
hello..philip... i have the same problem.. and iam using windows 10 and Matlab 2015a version. what should i do?
Walter Roberson
2015-10-13
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.
更多回答(1 个)
Gary Pajer
2016-6-10
For later versions of OS X you have to make some changes to your Matlab setup.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!