Thanks dumitru-daniel.popa
I can now hit the blue box/button and all seems OK but when I try and run the model I get errors relating to the generated code which is a little strange... I've attached the log from Simulink. I'm using mingw64 4.9.
Best regards,
David