How can i fix this error?

5 views (last 30 days)
Ghazal Hnr
Ghazal Hnr on 24 Jun 2017
Commented: Star Strider on 25 Jun 2017
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
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>
Ghazal Hnr
Ghazal Hnr on 25 Jun 2017
Thank you for your help.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 25 Jun 2017
You need to use the PhysioBank ATM (link).
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
Ghazal Hnr
Ghazal Hnr on 25 Jun 2017
Edited: Ghazal Hnr on 25 Jun 2017
I really appreciated, this way completely solved my problems.
Star Strider
Star Strider on 25 Jun 2017
As always, my pleasure.

Sign in to comment.

More Answers (0)

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!