Clear Filters
Clear Filters

Saving large matrix not exact

1 view (last 30 days)
Quang Huy Pham
Quang Huy Pham on 8 Feb 2023
Edited: Jonas on 8 Feb 2023
I saved a 60x300,000 matrix from MATLAB online into my MATLAB drive. But when I load the mat file from my local workstation, the entries in the matrix are not the same as the original ones. The values is exact for only one digit.
  5 Comments
Quang Huy Pham
Quang Huy Pham on 8 Feb 2023
It worked now. I cleared all variables in my pc's matlab and reloaded again.
Jonas
Jonas on 8 Feb 2023
Edited: Jonas on 8 Feb 2023
great.
sounds like you ran a script. Use functions instead, this way the variables are cleared each time before you run

Sign in to comment.

Answers (0)

Categories

Find more on File Operations 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!