PID control for dc-dc boost converter feedback.

I am currently doing my project on generation of chaos in dc-dc boost converters and have decided to use arduino as the pi controller. I have done the simulation in SIMULINK and want to realize it practically. Can anyone help me with this because I am completely new to platform. Thank you for your help and time.

I am also helpless to get on-line real time communication with simulink using Arduino 2560, if anybody gots it please reply.