필터 지우기
필터 지우기

Problem using loadlibrary with 2015a and windows 10

조회 수: 2 (최근 30일)
Tim G.
Tim G. 2015년 8월 27일
댓글: Walter Roberson 2015년 8월 27일
I've just had christmas in August - new PC running Windows 10, and a new copy of matlab 2015a.
I'm having a problem with loadlibrary.
i've gone thru the knowledge base on how to use loadlibrary and i'm sure I'm doing this correctly. I've talked to the software developers here about possible compatibility issues between 32bit dll's and 64bit matlab and he created a 64bit dll for me but i'm still having the same problem:
[a,b] = loadlibrary('mydll.dll', 'mydll.h')
Index exceeds matrix dimensions.
Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 527)
Error in loadlibrary (line 263)
I can't find any information on what the expected matrix dimensions are. i've tried without the [a,b] and get the same results.

답변 (1개)

Steven Lord
Steven Lord 2015년 8월 27일
From the Limitations section of the documentation page for LOADLIBRARY:
"You must have a supported C compiler and Perl must be available."
Based on the fact that the subfunction getLoadlibraryCompilerConfiguration is throwing the error, my suspicion is that you do NOT have a supported C compiler installed on your system.
  댓글 수: 3
Steven Lord
Steven Lord 2015년 8월 27일
Do you have a supported compiler available to be called (which includes being set up correctly) from the MATLAB session in which you call LOADLIBRARY?
Walter Roberson
Walter Roberson 2015년 8월 27일
Which SDK did you install? So far I have not seen any reports that anyone has managed to get SDK 7.1 working with Windows 10 -- something about Microsoft problems with getting the needed Visual C redistributables running.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by