adding matlab work