The basic steps to test a process and generate a model are:
Select the MPC module.
Put the downstream blocks in the correct mode.
Set up and run the test.
Select the data.
Generate a model and control.
Be sure that the module containing the MPC function block is not open in Control Studio when you click Autogenerate because the block is updated when the model is being generated.