How to specify /MT in MATLAB coder?
3 views (last 30 days)
Show older comments
HI there,
I am using MATLAB coder to generate C++ code. Where can I set /MT (multithread) or /MD (multithread DLL)? Many thanks.
1 Comment
Answers (1)
Theron FARRELL
on 16 Jun 2025
1 Comment
Abhishek
on 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 ?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!