Hello,
You dont need solidworks file for this. You can do this using simple geometries. I am attaching the piston library in the answer for your assistance.
Hope it helps.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!