フィルターのクリア

how to enable mex -setup for newer compiler (Visual Studio 2022) on older MATLAB (R2018a) ?

16 ビュー (過去 30 日間)
Charlie Ford
Charlie Ford 2023 年 7 月 27 日
編集済み: Bruno Luong 2023 年 7 月 27 日
I want to use a newer compiler with an older MATLAB.
Is there a mechanism by which we could configure R2018a's mex -setup to allow use of e.g. Visual Studio 2022 C/C++ ?
I understand that such a configuration might not be supported, and we'd be "on our own".

回答 (1 件)

Bruno Luong
Bruno Luong 2023 年 7 月 27 日
編集済み: Bruno Luong 2023 年 7 月 27 日
Go to bin\win64\mexopts under matlabroot folder
Select one of the xml file (most recent supported MSVS C/C++)
Copy it there, rename and and mofidy to the config of 2022 MSVC.
You can compare two xml files to see what need to be changed.
We are not allowed to give you such file on most recent version, since it is copyrighted.
Good luck.

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

タグ

製品


リリース

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by