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 个)

Yongjian Feng
Yongjian Feng 2021-8-17
As you noticed, this is a python error. Try first using python directly to read, without using matlab.
  3 个评论

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by