change output directory name to include num hash bits.
change matlab path