Effacer les filtres
Effacer les filtres

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

4 vues (au cours des 30 derniers jours)
Tsinghua THU
Tsinghua THU le 24 Mar 2017
Commenté : Joshua le 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 commentaire
Joshua
Joshua le 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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by