Skip to content

Commit dfa18c1

Browse files
committed
Update matlab.py
1 parent bbe54ce commit dfa18c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wfdb/io/convert/matlab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ def wfdb_to_mat(
9494
9595
"""
9696
record = rdrecord(
97-
record_name, pn_dir=pn_dir, sampfrom=sampfrom, sampto=sampto
97+
record_name, pn_dir=pn_dir, sampfrom=sampfrom, sampto=sampto,
98+
channels=channels
9899
)
99100
record_name_out = record_name.split(os.sep)[-1].replace("-", "_") + "m"
100101

0 commit comments

Comments
 (0)