C21 Model predictive control – simulation example

Platform Example

The files listed below contain code to simulate the platform control problem in questions 6-7 of the example sheet.

Download all the files into a single folder on your Matlab path. Run the example by typing

>> platform_example

at the Matlab prompt. The code assumes that the Matlab control toolbox and the Matlab optimization toolbox are installed.

Thanks to Dominic Wang for corrections