AnsweredAssumed Answered

Linking Matlab and Solidworks using ActiveX

Question asked by Son Trinh-Van on Dec 28, 2020
Latest reply on Dec 28, 2020 by Son Trinh-Van

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!

Outcomes