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

3 Ansichten (letzte 30 Tage)
shridharnator
shridharnator am 13 Aug. 2021
Kommentiert: Walter Roberson am 13 Aug. 2021
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 Kommentar
Walter Roberson
Walter Roberson am 13 Aug. 2021
As outside observers, we have no reason to expect that set1.pkl exists in the current directory; perhaps it is in a different directory.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by