[MITgcm-support] rdmeta.m

Byungho Lim blim at coas.oregonstate.edu
Wed Mar 8 17:50:06 EST 2017


Dear all,

I recently started learning MITgcm myself and, I think, there is a minor 
bug in rdmeta.m. I tried to read some meta files with the function and 
got an error message as follows:

Undefined function or variable 'ans'.

Error in rdmeta (line 62)
allfiles=ans;

I guess this line could fix the issue with line 62.
eval(['allfiles=ls(' char(39) fname '*.meta' char(39) ');']);

Regards,
Byungho




More information about the MITgcm-support mailing list