RobotStudio event

How I can read a file with Rapid RobotStudio

I'm trying to make a move with ABB robotic arm, for this I made a path mapping, and using matlab I developed a matrix where each column is [Position (x, y, z), quaternion(q1,q2,q3,q4), confdata, extjoint] and rows are the different arm positions.
How do I read this file .dat in the  Rapid Robotstudio and assign each row one posision?