Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call an external FEM software from Matlab

Status
Not open for further replies.

alleak

Mechanical
Joined
Sep 27, 2005
Messages
34
Location
IR
I want to know how can i call one FEM(like ansys)software from Matlab(optimization toolbar) and how can i make inputs and outputs beetween these two(making a loop until reaching the optimum result)

Cheers

alleak
 
One way is to pass data by files on the OS and invoke your application through a MATLAB OS call. The bang operator (!) will invoke the OS and pass any command you place after it to the OS. FOr DOS you can also use dos( callAnsys() )

Read the help file on ! and dos.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top