MATLAB gives file not found error when trying toopen a pkl file.

fid=py.open('set1.pkl','rb');
Error using connector.internal.fevalMatlab
Python Error: IOError: [Errno 2] No such file or directory: 'set1.pkl'

Error in connector.internal.fevalJSON
data=py.pickle.load(fid);

1 Comment

As outside observers, we have no reason to expect that set1.pkl exists in the current directory; perhaps it is in a different directory.

Sign in to comment.

Answers (0)

Categories

Tags

Asked:

on 13 Aug 2021

Commented:

on 13 Aug 2021

Community Treasure Hunt

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

Start Hunting!