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!