Main Content

Build Error Due to Compile-Time Checks

R2026b

MATLAB® does not support compile-time assertions in a C++ shared library, such as static_assert, but a construct with the assertion might be instantiated. To avoid an error when building a MATLAB interface to the library, comment out the lines in the definition file that define the construct before building the interface.

See Also

Topics