×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

How to run an input file from Matlab!!

How to run an input file from Matlab!!

How to run an input file from Matlab!!

(OP)
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,

RE: How to run an input file from Matlab!!

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.

RE: How to run an input file from Matlab!!

(OP)
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

RE: How to run an input file from Matlab!!

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?

RE: How to run an input file from Matlab!!

(OP)
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.

RE: How to run an input file from 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.

RE: How to run an input file from Matlab!!

(OP)
Thanks rmettier for your help.

I really appreciate it.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources