"mex -l" adds wired path
Ältere Kommentare anzeigen
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?
Antworten (1)
Suman
am 20 Jun. 2025
0 Stimmen
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!
1 Kommentar
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!