Running Ansys from Matlab

112 vues (au cours des 30 derniers jours)
Merve
Merve le 20 Sep 2014
Commenté : SorMun le 16 Nov 2023
Hi,
I need to run Ansys from Matlab. I write the code
dos('ansys145 -b -i model2.txt -o output2.txt');
Then I get an error
ansys145 is not recognized as an internal or external command, operable program or batch file.
I try adding "C:\Program Files\ANSYS Inc\v145\ansys\bin\winx64\ANSYS145.exe" as a path to Environmental Variables but the problem is not solved.
  13 commentaires
sina salahshour
sina salahshour le 10 Nov 2022
Thank you for your response and guidance,It's so helpfull. But I have a problem , i want pop up fluent for one time and then run it by some journal file multiple time in the following of Previous one , i dont want to pop up fluent for every journal file separately, is there any solution for it?
Best regards,
Walter Roberson
Walter Roberson le 13 Juin 2023
nice answer, would like to more about that

Connectez-vous pour commenter.

Réponse acceptée

Sarah Palfreyman
Sarah Palfreyman le 10 Jan 2017
See ANSYS for the MATLAB AAS Toolbox interface.
  6 commentaires
Arman Burkitbayev
Arman Burkitbayev le 2 Juin 2023
is there any news about live data exchange between ansys and matlab?
SorMun
SorMun le 16 Nov 2023
The toolbox is now availabe for download from Mathworks File Exchange at
Sorin

Connectez-vous pour commenter.

Plus de réponses (2)

broken_arrow
broken_arrow le 17 Mai 2021
Modifié(e) : broken_arrow le 8 Oct 2021
As of today, the provided link
redirects to the Ansys start page. The latest ANSYS_aaS Toolbox I could get is 1.1.9, which officially works until Matlab R2018b. I couldn't get it to work with newer releases and also can't downgrade my Matlab release because I'm using some functionalities of newer releases. Is there any follow-up on this? Has Ansys aaS been discontinued?
  3 commentaires
broken_arrow
broken_arrow le 17 Oct 2021
Thanks for providing the new link. Still, the time stamp is from 2017 and according to the text, the toolbox works for Matlab releases from 2014b through 2016a. It would be great to get an update on the state of things (@Sarah Palfreyman, @MathWorks Support Team).
SorMun
SorMun le 16 Nov 2023
The toolbox is now availabe for download from Mathworks File Exchange at
I updated it and It support all Matlab versions from 2014b to 2023b and ANSYS versions from R15 to R23.2
Thank you
Sorin

Connectez-vous pour commenter.


Akshay Kumar
Akshay Kumar le 13 Juin 2018
Modifié(e) : Akshay Kumar le 14 Juil 2018
Check this out, might be helpful. using MATLAB to run (ANSYS) APDL macro code

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by