issue related to mex file in matlab
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi , I have a mex file corresponding to a .cpp file generated from MATLAb version R2011b .But my Matlab setup is R2011a .I am getting an error like "Invalid MEX-file" while running the file in my MATLAB setup ...Is it because of version change ...Is the mex file not backward compatible ???
댓글 수: 0
답변 (1개)
James Tursa
2012년 1월 6일
In general, mex routines are not backward or forward compatible. It all depends on what versions you are running, which OS you are using, and what the mex routine is doing. And I am not aware of any reference you can consult to determine what to avoid & how to make the mex routine portable. In some cases it simply will not be possible. The generic advice is to recompile.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!