The merging of osqp/osqp#396 in the main OSQP library repo will allow us to move the Matlab-specific printing functions to the Matlab repo, removing the need to include the Matlab headers and code in the main library.
This is also possible to do with the memory allocation functions currently, and hopefully the timing/interrupt functions will move to this as well, so we can then move all Matlab-interface specific code to the interface and remove it from the main library repo - allowing us to then remove the Matlab CMake parts from the main library and only have it here in the interface.