How can i fix this error?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Ghazal Hnr
el 24 de Jun. de 2017
Comentada: Star Strider
el 25 de Jun. de 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 comentarios
dpb
el 24 de Jun. de 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>
Respuesta aceptada
Star Strider
el 25 de Jun. de 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:
![](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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Downloads en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!