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.
Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Problems with MotorCAD automation

    • giacomo.guidotti
      Subscriber

      Good morning, 

      I am trying to use a matlab script to automate MotorCAD simulations but now it does not worked even if it used to. When I use the command 

      mcad = actxserver('motorcad.AppAutomation');
      I receive the error

      Error using feval
      Server Creation Failed:

      Error in actxserver (line 89)
              h=feval(['COM.' convertedProgID], 'server', machinename, interface);

      Error in Main (line 2)
      mcad = actxserver('motorcad.AppAutomation'); 

      Did anyone have a similar issue?

    • MirandaH
      Ansys Employee
      Hi, this could relate to installation.
       
      Here is a similiar actxserver issue in Matlab with Excel, and MathWork support team shared 8 solutions for fixing the issue, including using environment variable to help re-registering the application: search "actxserver "Server creation failed: server execution failed" error when trying to create COM object with EXCEL - MATLAB Answers - MATLAB Central" for more details.
       
Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]