COM server creation error - Invalid ProgID after first use of actxserver() with CST MWS

12 views (last 30 days)
Hi,
I am trying to control CST MWS with MATLAB by creating a COM server using...
cst = actxserver('CSTStudio.application')
After re-installation of CST, this works fine for the first time, but all other attempts after this result in the error:
Error using actxserver (line 91) Server creation failed. Invalid ProgID 'CSTSTUDIO.Application'
and indeed on calling the function actxcontrolselect, the progID is not listed, for it to work again I have to reinstall CST.
I understand this may not necessarily be solely a MATLAB issue (and I have also contacted CST), but does anyone have any ideas???
Many thanks

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!