You can request licenses for Mathworks software for your team here:
http://www.mathworks.com/academia/st...irst-robotics/
There was a Mathworks project to use Simulink's code generator to generate C++ WPILib code, but it never made it out of beta. See
http://www.chiefdelphi.com/forums/sh...ad.php?t=86223