These sets of scripts run the simulator and analyses the results within matlab. It used simulink and the parallel computing tool box.

to run, following the steps

change the parallel computing toolbox prefrences to have the prefereed number of workers the max your pc can handle.
change the setup_parallel.m script num_workers to match this number. 
set the conditions to be tested in setup_environment.m. wd and ws should be the same length vectors.
change the cariable cases to select which start and end points to be tested. line 61 then loops over these pairs.
run the script and the simulations will start up and run on a parallel pool of workers. 
once the sims are complete, run the plotting_control script.m to analyse and plot the data.

the current parameters will only run a small set of the results. 