How to skip warning

5 次查看(过去 30 天)
杜 宇
杜 宇 2023-4-11
评论: Adam Danz 2023-4-11
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 个评论
Adam Danz
Adam Danz 2023-4-11
How are you loading that file? That doesn't sounds like a MATLAB warning.

请先登录,再进行评论。

回答(1 个)

KSSV
KSSV 2023-4-11
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!

Translated by