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

3 visualizaciones (últimos 30 días)
Tsinghua THU
Tsinghua THU el 24 de Mzo. de 2017
Comentada: Joshua el 27 de Mzo. de 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 comentario
Joshua
Joshua el 27 de Mzo. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by