Matlab general scripts.