Python Error: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc1 in position 2: ordinal not in range(128)

45 views (last 30 days)
fid=py.open("set1.pkl",'rb');
data=py.pickle.load(fid);
data=cell(data)

Answers (1)

Yongjian Feng
Yongjian Feng on 17 Aug 2021
As you noticed, this is a python error. Try first using python directly to read, without using matlab.
  3 Comments

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!