how to convert a solideworks file to an an xml file?

Good day

I need to convert a solidwork file to an xml file, I have 2019 version, the problem is I only find the option to convert my file to 3DXML , but I need to convert it to xml because I use the smimport function in simscape mutibody that only works with xml files 

thank you very much

Comments 1
JS
JS 2021-04-29

There is a SOLIDWORKS add-in included with Simscape Multibody Link to do this:

  https://www.mathworks.com/help/physmod/smlink/ref/linking-and-unlinking-simmechanics-link-software-with-solidworks.html