ASCII file exported from ADS
时间:03-29
整理:3721RD
点击:
I have exported ASCII file from ADS which contain DC current, Voltage, frequency and MAG. I need to process the file in Matlab. The problem is that it contains four titles. For each step size, it give new title after some rows. Here is one example.
IBB VCE freq MAG[0, 0, ::]
1.00000000000000000E-7 4.00000000000000000E-1 1.00000000000000000E9 2.26388698656925900E1
after some rows it becomes
IBB VCE freq MAG[0, 1, ::]
1.00000000000000000E-7 8.00000000000000000E-1 1.00000000000000000E9 2.29951594282028270E1
It is time consuming to remove the titles one by one using find and replace. I can not use replace all since this pattern [0,0,::] keeps changing. Any idea, how to generate the text file without titles or is there simple way to remove all titles. This size of the text file is about 12MB.
IBB VCE freq MAG[0, 0, ::]
1.00000000000000000E-7 4.00000000000000000E-1 1.00000000000000000E9 2.26388698656925900E1
after some rows it becomes
IBB VCE freq MAG[0, 1, ::]
1.00000000000000000E-7 8.00000000000000000E-1 1.00000000000000000E9 2.29951594282028270E1
It is time consuming to remove the titles one by one using find and replace. I can not use replace all since this pattern [0,0,::] keeps changing. Any idea, how to generate the text file without titles or is there simple way to remove all titles. This size of the text file is about 12MB.
Use write_var() in Data Display.
http://edadocs.software.keysight.com...pageId=5928730
Do text editing using sed, awk or perl.