add the tricky quotes around $matlab; thanks Paula