To get the .csv data try
If you need to specify your delimiters you need to change the opts file but usually it's not needed.
To save it in a .mat file try
As John said, those are basics you can learn by looking at the docs.
You can also import the data via the Import-Data Button when you press Home, and then create a function of your Import that does it automatically.