matlab: move last line of text file to top -


i'm not versed in matlab. i'm working data composed of alphanumerics , symbols. want move bottom line top of file. i've looked other methods use fseek , such, have confused me , using ultra specific file characteristics. there general way this?

thank time.

i think there's no built-in function this. there's easy way think following steps:

  1. read whole file freadf.
  2. move last line in matrix 2 first.
  3. and write file fwrite

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -