How to skip warning

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

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

0 votes

Try warning off...
Any ways it is better not to load whole netcdf file at once.

Asked:

on 11 Apr 2023

Commented:

on 11 Apr 2023

Community Treasure Hunt

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

Start Hunting!