Reading a textfile with increment-RLE

조회 수: 1 (최근 30일)
Azza Ahmed
Azza Ahmed 2012년 5월 12일
I have a large file that shows 5 different tasks that run every 1 microsecond. The text file consist of 5 different columns of repeated data on which they start with zeros and rise up to highest value and then gradually decrease again to reach a zero value {this is synchronized differently for each column} . During the run, an event to any of the tasks can happen at an interval of ~ every 10 microseconds by showing a change in these values along the column. I need to write a code that keep track of the time and the value when an event is triggered to the 5 columns. I understand I need to increment in my code so as not to take repeated values by I do not know how to do that , especially when my file is > 2GB. I found in one website that it is recommended to run length encoding for similar cases, but I do not understand how I can do that.
I will highly appreciate any help that I can find regarding this
Best wishes
AA
  댓글 수: 1
Oleg Komarov
Oleg Komarov 2012년 5월 12일
I am sorry it's not clear what your immediate issue is. Try to break down the problem in small tasks and formulate a question.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Low-Level File I/O에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by