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

3 次查看(过去 30 天)
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 个评论
Walter Roberson
Walter Roberson 2021-8-13
As outside observers, we have no reason to expect that set1.pkl exists in the current directory; perhaps it is in a different directory.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by