Running Ansys from Matlab

178 views (last 30 days)
Merve
Merve on 20 Sep 2014
Commented: SorMun on 16 Nov 2023 at 22:08
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 Comments
Walter Roberson
Walter Roberson on 13 Jun 2023
nice answer, would like to more about that

Sign in to comment.

Accepted Answer

Sarah Palfreyman
Sarah Palfreyman on 10 Jan 2017
See ANSYS for the MATLAB AAS Toolbox interface.
  6 Comments
SorMun
SorMun on 16 Nov 2023 at 22:07
The toolbox is now availabe for download from Mathworks File Exchange at
Sorin

Sign in to comment.

More Answers (2)

broken_arrow
broken_arrow on 17 May 2021
Edited: broken_arrow on 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 Comments
SorMun
SorMun on 16 Nov 2023 at 22:08
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

Sign in to comment.


Akshay Kumar
Akshay Kumar on 13 Jun 2018
Edited: Akshay Kumar on 14 Jul 2018
Check this out, might be helpful. using MATLAB to run (ANSYS) APDL macro code

Categories

Find more on Downloads in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!