Imagine that you have designed a part in Solidworks and you want to transfer the cloudpoints of its surface to Matlab (lets say their XYZ coordinates). In order to do that you have to first make a new static study in Solidworks Simulation Toolbox. Then start meshing the model with any intensity you need. Then right click on mesh and click on "List Selected":

Then select all faces of you design that you want to transfer to matlab and click "Update":

Select all points then under "Report Options" tab click on save button and save it as text file:

Now drag the saved text file into workspace in MATLAB and import the data there:

Now you can plot these point using "plot3" command: plot3(Xmm,Ymm,Zmm,'+')