hard code in the diagnostic files' directory for non gui supported matlab usage