ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
STSon Trinh-Van28/12/2020

Does anyone has successfully connected between Solidworks and Matlab? I tried to open and modify my design in Solidworks from Matlab. I have tried to use the MatLab functionality described here http://www.mathworks.com/help/techdoc/ref/actxserver.html. The ProgID for the SolidWorks application that I used was "SldWorks.Application". I used the following commands in Matlab and tried to open a new part in Solidworks from Matlab: 

swApp= actxserver(SldWorks.Application);

part = invoke(swApp, 'New Part'); 

However, Solidworks is not started.

Thanks a lot!