Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

How to run an input file from Matlab!! 1

Status
Not open for further replies.

cali

Civil/Environmental
Aug 15, 2001
16
Hi,

I am currently working in some parametric analyses. I would like to know if there is any way to run my models from Matlab, in order to avoid doing this with the Abaqus command each time that I need to run a model. I have tons of input files, so it would be really efficient to have such an application.

Thanks,

 
Replies continue below

Recommended for you

well. I personaly do not use matlab. but here is an idea if you can get the results into a text file.

you could write a Excel sheet that read in the text file into the cells of excel in batch. from there, you could create muti ABAQUS text comment in excel with the mathlab data. then output as text files and run them in batch.
 
Thanks for your recommendation. But I already have the input files, the only thing that I need is a way to run this models from Matlab, I mean, to call Abaqus from Matlab in order to run those input files that I already have. Because, I don't want to do it manually, since I would waste time for example at nigths when I can be at the office running models from the Abaqus command window.

Thanks
 
If your input files are not created by Matlab but you already have them, is it not possible to write DOS (if you are using Windows) batch file (or Linux scripts) to run the analyses?
 
Hi bkal,

My input files are created in Matlab, I just want to complete my program code with a function that calls abaqus and run the models, all with the same program in Matlab.
 
Just use the '!' in Matlab
for example if your .inp file is in /home/user/abaqus/model1.inp:

>>!abaqus job=/home/user/abaqus/model1.inp

Same as starting abaqus with a job from the command line, just with a '!' before it.
 
Thanks rmettier for your help.

I really appreciate it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor