フィルターのクリア

error while loading .mat file in google colab

6 ビュー (過去 30 日間)
Sajid Sarwar
Sajid Sarwar 2021 年 1 月 19 日
コメント済み: Sajid Sarwar 2021 年 1 月 20 日
I have a .mat file which i need to open/load in google colab. the file size is 590MB. I have uploaded file on google colab from my local drive. Then I have used different codes like following,
from scipy.io import loadmat
data=loadmat('Perfect_H_40000.mat')
another one is,
from os.path import dirname, join as pjoin
import scipy.io as sio
data_dir = pjoin(dirname(sio.file), 'matlab', 'tests', 'data')
mat_fname = pjoin(data_dir, 'Perfect_H_40000.mat')
mat_contents = sio.loadmat(mat_fname)
there is another,
import h5py
f = h5py.File('Perfect_H_40000.mat')
but all the time I failed to load this .mat file. please suggest some suitable method. Thankyou
  1 件のコメント
Sajid Sarwar
Sajid Sarwar 2021 年 1 月 20 日
can anyone help please?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeGoogle についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by