add matlab elements