error loading .mat file

Unable to read MAT-file. Not a binary MAT-file. Try load -ASCII to read as text. but on the first iteration it loads this file

3 Comments

Voss
Voss on 20 Jul 2022
Edited: Voss on 20 Jul 2022
Maybe something in your code is overwriting the .mat file (incorrectly) after it is loaded the first time. Can you share the complete code?
Is it some online file ? What is the size of file ?
but on the first iteration it loads this file
Why are you loading the same file iteratively? If the contents are changing as a result of the iterations, it is likely that you over-wrote it with a different type of file.

Sign in to comment.

Answers (0)

Products

Release

R2022a

Asked:

on 20 Jul 2022

Commented:

on 13 Sep 2022

Community Treasure Hunt

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

Start Hunting!