Chris31 (Aeronautics) (OP)
11 Aug 08 19:36
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:
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