Unable to Create Matlab Server in Linux

    • mgardner

      I regularly run Maxwell on my Windows desktop machine and use the following lines in a VBScript to create a dedicated Matlab COM server that I can use for post-processing simulation results.  (See Matlab's description here: https://www.mathworks.com/help/matlab/matlab_external/matlab-com-automation-server-interface.html)


      Dim MatLab

      Set MatLab = CreateObject("Matlab.Application.Single")


      However, when I tried to use the same lines to create a Matlab server on my school's Linux supercomputer, it failed.  Any ideas as to what could be the problem?  Do I need to install some special add-ons or plugins to integrate Matlab with ANSYS in Linux?

    • rounaksingh

      Hi mgardner,

      Running simulations in your school's linux cluster is a different thing than running it on your computer. Most of the time, linux clusters in schools have multiple softwares installed which is called or executed using special commands like "$ module load matlab" and than you execute matlab "$ matlab".

      It might be a possibility that the ansys product is unable to find the matlab executable. Also, check the Tools>Options>General> Misc.; Matlab path.

      It is better to talk to your school's cluster admin. They will have more info on the matlab execution.

      Or it is better to export the required data file or all hfss files/folders from cluster and then run your script.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.