Excute ANSYS batch code by 'system' in Matlab 2016b

2 visualizzazioni (ultimi 30 giorni)
Tsinghua THU
Tsinghua THU il 24 Mar 2017
Commentato: Joshua il 27 Mar 2017
I need to excute ANSYS 15.0 batch code, the code is successfully runned in the ANSYS APDL platform. However, when I used the command 'System' to call the ANSYS batch in MATLAB 2016B, the ANSYS APDL mechanical stopped running. But when I used Matlab 2012a, all things went fine. I don't know why.....
  1 Commento
Joshua
Joshua il 27 Mar 2017
I have not used ANSYS with Matlab, but once I had a problem with UDFs working in ANSYS Fluent before an upgrade to Windows 10 but not afterwards. It turned out that the "udf.bat" file was referencing an older version of Visual Studio. Had to copy and change a few lines of code to make sure it looked for more than one version of Visual Studio. Could be something similar with another file looking at the old version of Matlab. Make sure it is looking for 2016 and not 2012.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by