How can i fix this error?
1 view (last 30 days)
Show older comments
Hi, I get this error:
Error using load
Unknown text on line number 1 of ASCII file
drive01.dat
"ÿ".
after loading drive01.dat that i downloaded it from this page: https://physionet.org/physiobank/database/drivedb/
Would anyone help me to fix this error?
4 Comments
dpb
on 24 Jun 2017
It would probably help more if you would read the supporting information at the site on how to use the data files... <physionet.org faq>
Accepted Answer
Star Strider
on 25 Jun 2017
To get the database you want, scroll down to ‘Stress Recognition in Automobile Drivers (drivedb)’, then using the Toolbox drop-down menu, download it as a ‘.mat’ file. First, be certain that you have chosen the Record, Signals, Annotations (if applicable), Length, Time format, and Data format you want.
To illustrate:
Scroll down and find the link to the database you chose. Right-click on it to download it.
You can then load it into your MATLAB workspace as you would any other ‘.mat’ file.
I always recommend using the load function with an output argument, so you can see and choose what variables you want to import into your workspace. It also allows you to assign your own variable names to the data, so any in the ‘.mat’ file do not overwrite any similarly-named variables already in your workspace.
If you are going to use Physionet frequently, please take a few minutes to explore it. That will be time well spent.
2 Comments
More Answers (0)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!