MATLAB wrapper for TinyMPC. It supports code generation and interaction with the C/C++ code. This was tested on MacOS and Ubuntu.
git clone --recurse-submodules https://github.com/TinyMPC/tinympc-matlab.git
interactive_cartpole.mlx
under examples.The interface is documented here.