How to skip warning

1 view (last 30 days)
杜 宇
杜 宇 on 11 Apr 2023
Commented: Adam Danz on 11 Apr 2023
When I load a large NCFD file, I will have the following warning:
File Size is more than 1.5GB. Loading all the variables at a time takes lot of time and may be your MATLAB freeze up.
Do you still want more? Y/N [Y]:
I need to input Y evertime. How to skip the warning?
  1 Comment
Adam Danz
Adam Danz on 11 Apr 2023
How are you loading that file? That doesn't sounds like a MATLAB warning.

Sign in to comment.

Answers (1)

KSSV
KSSV on 11 Apr 2023
Try warning off...
Any ways it is better not to load whole netcdf file at once.

Community Treasure Hunt

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

Start Hunting!