Documentation will be published here when ready.
In the mean time, check out the examples or use the help command in MATLAB:
>> help run_code_gen
and
>> help run_code_gen_MPC