Borrar filtros
Borrar filtros

Problem using loadlibrary with 2015a and windows 10

2 visualizaciones (últimos 30 días)
Tim G.
Tim G. el 27 de Ag. de 2015
Comentada: Walter Roberson el 27 de Ag. de 2015
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.

Respuestas (1)

Steven Lord
Steven Lord el 27 de Ag. de 2015
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 comentarios
Steven Lord
Steven Lord el 27 de Ag. de 2015
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 el 27 de Ag. de 2015
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by