How to specify /MT in MATLAB coder?
Ältere Kommentare anzeigen
HI there,
I am using MATLAB coder to generate C++ code. Where can I set /MT (multithread) or /MD (multithread DLL)? Many thanks.
2 Kommentare
Hi @Theron FARRELL, You can set '/MT' or '/MD' in MATLAB Coder under Code Generation Settings then go to Toolchain, then to Custom Compiler Flags.
Theron FARRELL
vor etwa 3 Stunden
Antworten (2)
Theron FARRELL
am 16 Jun. 2025
0 Stimmen
2 Kommentare
Abhishek
am 16 Jun. 2025
Yes, you need to add '/MD' or '/MT' to both the C Compiler and C++. Did setting such flag work for you @Theron FARRELL ?
Theron FARRELL
vor etwa 3 Stunden
Test
vor etwa 14 Stunden
0 Stimmen
df
Kategorien
Mehr zu MATLAB Coder 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!


