Beginners question: what do I need to extract list of stresses at all nodes/elements?

What do I need to extract stresses into for example a text file, for further processing in for example Matlab? Can I request ASCII results, or is there an API of some sort?

/Mats Lindqvist

SolidworksSimulation