Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Import and export data from a large text file

Asked by Ali Ahmadian on 10 Sep 2013

I have a large set of data in a .LIS file and i want to write a program to export said data to an excel file. Inside the file there are headings of different analyses and the respective results in numerical format. The task of this program must be to search for the specific heading and copy its data to an excel file. The data inside the .LIS file looks like this:

 * * * * E L E M E N T   T O P O L O G Y   F O R   S T R U C T U R E   1
         - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 E L E M E N T    NODE      NODE      NODE      NODE    MATERIAL  GEOM
 NUMBER    TYPE  NUMBER    NUMBER    NUMBER    NUMBER    NUMBER    NUM
---------------------------------------------------------------------
 2116     QPPL    2524      2536      2537      2525       0         
 2117     QPPL    2536      2500      2501      2537       0         
 2118     QPPL    2513      2525      2526      2514       0         
 2119     QPPL    2525      2537      2538      2526       0         
 2120     QPPL    2537      2501      2502      2538       0         
 2121     QPPL    2514      2526      2527      2515       0         

1 Comment

Jan Simon on 10 Sep 2013

What is your question? Please show what you have tried so far and explain the occurring problems.

Ali Ahmadian

Products

No products are associated with this question.

0 Answers

Contact us