When building a C++ program using MATLAB Engine in Visual Studio, is it possible to specify -R2017b?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohamed Lanjri El Halimi
am 21 Jan. 2024
Beantwortet: Mohamed Lanjri El Halimi
am 23 Jan. 2024
I have set up Micosoft Visual Studio 2022 to build Matlab Engine applications. But it looks like by default is compiling for -R2018a instead of -2017b (which is the default option in the Matlab compiler). And that's making the Visual Studio compiler to throw LNK2019 and LNK1120 errors (unvresolved externals). Any idea on how to solve this problem?
0 Kommentare
Antworten (2)
Benjamin Thompson
am 21 Jan. 2024
It seems like it should be possible, provided you can install Visual Studio 2017 Professional or Enterprise Edition:
Since Visual Studio 2022 was released much later than the final release of MATLAB R2017B, there is probably no way to make the two work together.
Siehe auch
Kategorien
Mehr zu Call MATLAB from C 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!