Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips now!
  • 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!

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

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Chris31 (Aeronautics) (OP)
11 Aug 08 19:36
Hi all,

Relatively new to matlab - I have a question for everyone and would like to hear other opinions on how to get what I am trying to do if you have better ideas.  I would like to write a short script that would search a series of nastran output (f06) files, find a given subcase and element, and return the output force.

More specifically, I'd like to do the following:

Read input file into matlab that contains paths to the f06 files to be searched:

1. c:/outputfiles/outputf06_01
2. c:/outputfiles/outputf06_02
3. c:/outputfiles/outputf06_03

tell matlab the following:

In outputf06_01 (file 1. on the input list), search until you find the text "SUBCASE33", then search until you find the text "F O R C E S   I N  Q U A D", and finally read and return the value in column 4 immediately to the right of the element "790100" - even better make a new txt file with the element numbers in the first column and the forces in the second column. Ultimately, I'd like to give matlab a number of element numbers, output file numbers and subcase numbers, and have the script return all the output forces.


I appreciate any and all responses
 

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!

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close