COM server creation error - Invalid ProgID after first use of actxserver() with CST MWS
12 views (last 30 days)
Show older comments
Hi,
I am trying to control CST MWS with MATLAB by creating a COM server using...
cst = actxserver('CSTStudio.application')
as described in the user/application note from CST found at: https://www.cst.com/Content/Support/UserNotes/documents/Application%20Note_Matlab_calls_CST.pdf
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
1 Comment
Eduardo José Jarauta Ayensa
on 17 Mar 2017
I have the same problem Did you find the solution? Thanks in advance
Answers (0)
See Also
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!