Matlab Testing Scripts for the ACDS hardware