To accelerate your phased array simulations, you can generate executable C/C++ code from MATLAB®. You can generate MEX-files, which you can call from the command line. You can also use Dataflow to speed up simulations in Simulink®. This toolbox also lets you create HDL code from Simulink models.