Filter löschen
Filter löschen

Wrog example in help? (Calling Functions in Shared Libraries)

1 Ansicht (letzte 30 Tage)
Laszlo Sass
Laszlo Sass am 22 Apr. 2015
Beantwortet: Laszlo Sass am 24 Apr. 2015
>> hfile = fullfile(matlabroot,'extern','include','matrix.h');
>> loadlibrary('libmx',hfile)
Index exceeds matrix dimensions.
Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 527)
Error in loadlibrary (line 263)

Antworten (2)

Navaneeth Raman
Navaneeth Raman am 23 Apr. 2015
Hello,
I am able to run the example. What version of MATLAB are you running the example in? Also, try executing the following commands and then run the example.
>>restoredefaultpath
>>rehash toolboxcache
This will refresh the function and file system path caches and will remove directories that you have added on your MATLAB path.
Thanks,
Navaneeth

Laszlo Sass
Laszlo Sass am 24 Apr. 2015
Hello,
I'm running 2015a. I try:
>> restoredefaultpath
>> rehash toolboxcache
>> hfile = fullfile(matlabroot,'extern','include','matrix.h');
>> loadlibrary('libmx',hfile) Index exceeds matrix dimensions.
Error in loadlibrary>getLoadlibraryCompilerConfiguration (line 527)
Error in loadlibrary (line 263)
I get same error.
Laszlo

Kategorien

Mehr zu Matrix Indexing 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!

Translated by