Hello Alex, it sounds like you have to install ACADO Toolkit first. Then you can run the code. Just follow these instructions: https://acado.github.io/matlab_overview.html