Python Error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 2: ordinal not in range(128)
12 次查看(过去 30 天)
显示 更早的评论
fid=py.open("set1.pkl",'rb');
data=py.pickle.load(fid);
data=cell(data)
1 个评论
Yun Guan
2021-11-10
hello,have you solved the problem. and I had the same problem about the Unicode decode error in matlab. thanks
回答(1 个)
Yongjian Feng
2021-8-17
As you noticed, this is a python error. Try first using python directly to read, without using matlab.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!