필터 지우기
필터 지우기

Difficulties with WFDB toolkit in Matlab

조회 수: 23 (최근 30일)
Ram Krishnan
Ram Krishnan 2024년 7월 12일 20:44
댓글: Ram Krishnan 2024년 7월 16일 14:54
I downloaded the WFDB Toolbox for Matlab onto my Mac and successfully ran the demonstration tests to prove that the download had happened.
However, when I try to open and examine the MIMIC2 database, I am running into what seems to be path problems. I used rdsamp to open the database (from the command window) as follows and get the error message right below:
>> [signal,Fs,tm]=rdsamp('mimic2wdb/30', [1 3 5],1000);
Error using rdsamp (line 203)
Could not find record: mimic2wdb/30. Search path is set to: '. /Users/ramkrishnan/Desktop/MIMIC to Matlab/mcode/../database/
I also tried
urlread(['http://physionet.org/physiobank/database/' 'mimic2wdb/30' '/RECORDS'],1)
but got an error that the records were too long.
By the way, the demo with the MITDB record appears to work because it (MITDB) seems to be loaded onto my drive. The problem is accessing the remote physionet db.
Anybody have suggestions on how to open and examine the MIMIC2 or MIMIC3 db from Matlab?
Thanks
Ram
  댓글 수: 1
Ram Krishnan
Ram Krishnan 2024년 7월 16일 14:54
I finally did get rdsamp to work and was able to download the appropriate records. The key was to address the record number specifically as follows:
[sig, Fs, tm] = rdsamp('mimic3wdb/31/3141595/',[],1000);
Similarly, when I tried to download matched records, I had to be even more specific, as follows:
[sig, Fs, tm] = rdsamp('mimic3wdb/matched/p00/p001457/p001457-2194-10-15-19-02',[],100);
regards
Ram

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

제품


릴리스

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by