0 Replies Latest reply on Feb 21, 2016 12:23 PM by James Cairns

    Is it possible to run a solidworks macro in batch mode from a matlab script?

    James Cairns

      Currently I'm been using the following code

      system ('"C:/Program Files/SOLIDWORKS Corp/SOLIDWORKS/SLDWORKS.exe" /m "[macro location]"')

       

      However, this doesn't run in batch mode and opens up the GUI. The macro does run.

       

      Any ideas?