unable to load these .mat files. how to use GIT LFS to open these .mat files?

8 views (last 30 days)
I am unable to load these .mat files. Could you please help me to load these files?
Does it need GIT LFS to open? there is gitattributes file as '*.mat filter=lfs diff=lfs merge=lfs -text'. I dont understand its significance in accessing these .mat files. Could anyone please help?
  7 Comments
l l
l l on 23 Nov 2020
I tried to clone the repository from the instructions from this website- https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
Cloning was successful, however, all files are exported to my local folder except the .mat files. Not even a single .mat file was transferred to local folder. The error message is as above. (attached screenshot).... Following is the error message-
Downloading data/PMU_Positions_IEEE123.mat (302 B)
Error downloading object: data/PMU_Positions_IEEE123.mat (384e21f): Smudge error: Error downloading data/PMU_Positions_IEEE123.mat (384e21f8fecef313704a3156489855ff734e2b7d350e8755e382e109812e1055): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
Errors logged to C:\Users\scelv\Documents\MATLAB\Sync-Aware-State-Estimator\.git\lfs\logs\20201123T093352.5689571.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: data/PMU_Positions_IEEE123.mat: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
l l
l l on 23 Nov 2020
Hi again,
I have retried to use git lfs command instead of git command and I recieved following response. (see attached jpg)
C:\Users\scelv\Documents\MATLAB>git lfs clone https://github.com/MarcoTodescato/Sync-Aware-State-Estimator
WARNING: 'git lfs clone' is deprecated and will not be updated
with new flags from 'git clone'
'git clone' has been updated in upstream Git to have comparable speeds to 'git lfs clone'.
Cloning into 'Sync-Aware-State-Estimator'...
remote: Enumerating objects: 76, done.
remote: Counting objects: 100% (76/76), done.
remote: Compressing objects: 100% (63/63), done.
Receiving objects: 100% (76/76), 43.50 KiB | 543.00 KiBk-reused 0/s, done.
Resolving deltas: 100% (15/15), done.
batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.
error: failed to fetch some objects from 'https://github.com/MarcoTodescato/Sync-Aware-State-Estimator.git/info/lfs'
This time I am able to successfully clone the .mat files as well! But, unfortunately, I am unable to load these .mat files in Matlab. The same error as before is still continuing.

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!