Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

I need to control Ansys Workbench Parameters from Matlab. Could you please help?

Status
Not open for further replies.

CAE4LIFE

Mechanical
May 11, 2017
2
0
0
DE
Help me with the code in Matlab which takes input parameters and run 'Ansys workbench mechanical' in the background and gives output values to Matlab.

I was able to do this in Excel using Python script. But, I need to do this task in Matlab.

I was also able to link Ansys Workbench and Matlab using following code:
!"C:\Program Files\ANSYS Inc\v170\ansys\bin\winx64\ANSYS170.exe" -b -pANSYSUL -i "Input text file location" -o "Output text file location"

It ran successfully and generated db and rst files which can be opened in Mechanical APDL.

But, I need a platform in Matlab where I can enter INPUT values and get OUTPUT values from Ansys.

Kindly help me to achieve this!
 
Replies continue below

Recommended for you

Status
Not open for further replies.
Back
Top