Hardware in the Loop Aerospace Simulation Development
C++ and MATLAB Simulink tips for HWIL simulation software engineers
Wednesday, August 16, 2023
Compile s-function with C++17
To compile a Simulink s-function file with C++17 (assuming you have Visual Studio 2019 or higher) , use:
mex COMPFLAGS='$
COMPFLAGS /std:c++17' file.cpp
Note that this does NOT work: mex
CXX
FLAGS='$
CXX
FLAGS /std:c++17' file.cpp
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment