Hey, i'm using the "loadlibrary" command within a larger function in order to load dlls, and i'm getting the following errors:
"Invalid access to memory location" and
"(path) is not a valid win32 app"
Which of these errors i'm getting depends on the location of the dlls, without a consistent pattern to it. I checked online and understood that the second error may be caused by using a 64bit version of matlab, but I checked using 'computer' and 'computer('arch')' and I am using a 32bit version (7.6.0 - R2008a). I even tried adding an exception for matlab in EDP in the control panel, but to no avail. The larger function works properly on my laptop with a previous matlab version (2007 if im not mistaken), so it may be because of my os, which is windows server 2012. I am clueless and need help as soon as possible. Thanks in advance, Daniel.

댓글 수: 1

Talha Sultan
Talha Sultan 2022년 1월 26일
Getting the exact same error "Invalid access to memory location" when attempting to load a dll. I was wondering if you were able to solve this by any chance.

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

답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

질문:

2016년 2월 25일

댓글:

2022년 1월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by