Describe the enhancement requested
Currently, there is no specific format that is enforced for the C++ code in the MATLAB interface. This makes it easy to make accidental formatting mistakes and leads to inconsistent code formatting (e.g. #38189 (comment)).
We should use clang-format on the source files in the matlab/ subfolder.
Component(s)
MATLAB