Introduction - If you have any usage issues, please Google them yourself
This my complete simulink project using xilinx system generator blocks.
There is a buck converter and a control unit for FPGA calculating MPPT to get maximum power from the PV panel.
MPPT calculation is done using sysgen blocks. Also HWCOSIM (hardware cosim is done and the files are present bit file etc...)
Enjoy. :)