add logic for matlab 2013a

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>