How can i fix this error?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
dpb
2017-6-24
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>
采纳的回答
Star Strider
2017-6-25
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177174/image.png)
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!