"mex -l" adds wired path
조회 수: 3 (최근 30일)
이전 댓글 표시
As you can see from the picture.There is no path like "D:\sw\runtime\win64" on my computer.
Already tried:
- tested on matlab 2024b; --- same error
- tested on matlab 2025a; --- same error
- Unintall all matlabs;
- install matlab 2025a; --- same error
All failed.
BTY, The same command run succesfully on other computer.
How to resolve?
댓글 수: 0
답변 (1개)
Suman
2025년 6월 20일
Hi @Fei
It seems it is looking for the libabcd.lib in wrong directory instead of the one you passed with -L option. Are you sure path is correct? Shouldn't it be C:\work\code
Also try using -LC:\work\code since there is not space in the directory names. Also see the example here: https://in.mathworks.com/help/matlab/ref/mex.html#btx0rai-1
Hope that helps!
참고 항목
카테고리
Help Center 및 File Exchange에서 Operating on Diagonal Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!