Open ascii file in matlab
Also, these files opened just fine in R Unfortunately, this will require me to revise a large number of scripts that currently use load to load ascii files. Why doesn't load work for these files any more, I guess is my real question. Accepted Answer. Thanks, per. This will mean a huge amount of work to correct. Oh well. Is it really the comment line, which causes the failed read?
More Answers 1. Did you try. I cannot make dlmread handle comment lines - regardless of how I set the range. I find it difficult to remember all the details of all the functions, which read ascii-data. When faced with a failed read it is too easy to jump into the wrong conclusions. I need a "selection guide". The two files are thus identical but for the extension. Then I run Ra, 64bit, Windows7. Error using load.
Warning: File contains uninterpretable data. Yes, I have checked twice that the correct data is assign in the "ok-cases". I would really appreciate some indications which can help me. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow.
Learn more. Asked 7 years, 3 months ago. Active 7 years, 3 months ago. Viewed times. Thanks for the answer. But i still have the same problem. Can you upload your file, or at least an extract a small sample of it , otherwise it will be near impossible to find what's wrong. Accepted Answer: Image Analyst. As a beginner I would really appreciate any helps. Accepted Answer. Image Analyst on 23 Nov Vote 1. Cancel Copy to Clipboard.
You forgot to attach your file. So we don't know the format. Maybe you can use csvread , dlmread , textscan , fgetl , or something else instead. Sure, try dlmread filename, ';'. More Answers 0. See Also. Tags data import.
0コメント