Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Electronics

Electronics

Topics related to HFSS, Maxwell, SIwave, Icepak, Electronics Enterprise and more.

Invalid progid of Ansys EDT when using ‘actxserver(progid)’ in MATLAB

    • Ashishkumar Gupta
      Subscriber

      HEllo All,

      I am using MATLAB (R2021A) (x64 bit) and Ansys Electronics DEsktop Student Version (2022.2). 

      I have VBS script from Ansys EDT and converted that to .m code.

      But my first line is not getting executed. 

      actxserver('Ansoft.ElectronicsDesktop')
      Error using actxserver
      Server creation failed. Invalid ProgID 'Ansoft.ElectronicsDesktop'.

      The various progid that I have tried are: Ansoft.ElectronicsDesktopStudent.2022.2 ; Ansoft.ElectronicsDesktopStudent.2022 ; Ansoft.ElectronicsDesktopStudent ; Ansoft.ElectronicsDesktop; AnsoftMaxwell.MaxwellScriptInterface.

       

      But none of them worked. I wonder what is problem with Ansys progid.

      Please help me out as I need to submit my project. 

      thanks alot

    • DELI
      Ansys Employee

      % Define the activex scripting engine
      iMaxwell = actxserver('Ansoft.ElectronicsDesktop.2022.2');

    • Ashishkumar Gupta
      Subscriber

      Hi, Thanks for your response. That is what my question is !!!

      I have defined it already and MATLAB says the 'ProgId' is Invalid. I have tried all the combinations mentioned above but with no success. Thanks!!

Viewing 2 reply threads
  • The topic ‘Invalid progid of Ansys EDT when using ‘actxserver(progid)’ in MATLAB’ is closed to new replies.
[bingo_chatbox]