So if you run mex -setup and click on the Visual C++ 2022 link, nothing seems to happen if you had already setup mex with VS 2022. But then you have a problem if you upgrade VS 2022, how do you get mex to update its path information?
Problem using loadlibrary in R2023B Update 7 and VS 2022 v17.9
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Benjamin Thompson
am 21 Mai 2024
Beantwortet: Benjamin Thompson
am 28 Mai 2024
I just updated my VS 2022 Enterprise from version 17.8 to 17.9.0 and I am having a problem using loadlibrary. It cannot find C header files and runtime libraries, possibly due to 17.9 shipping with a new MSVC version 14.39.33519 instead of the 14.38 version that comes with 17.8. How do I retarget loadlibrary to use the new version?
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!