Closed emmomp closed 6 months ago
The trailing wildcard characters '*' in calls to rdmds and rdmds2gcmfaces cause the following error in new versions of Matlab:
Error using dir Characters adjacent to a ** wildcard must be file separators. Error in rdmds (line 149) allfiles=dir( sprintf('%s*.meta',fname) );
Error using dir Characters adjacent to a ** wildcard must be file separators.
Error in rdmds (line 149) allfiles=dir( sprintf('%s*.meta',fname) );
rdmds adds a trailing to fname, so if fname already contains a this causes the above error as ** has a specific meaning in newer Matlab versions.
The fix is to simply remove the wildcards in any calls to rdmds or rdmds2gcmfaces.
The trailing wildcard characters '*' in calls to rdmds and rdmds2gcmfaces cause the following error in new versions of Matlab:
rdmds adds a trailing to fname, so if fname already contains a this causes the above error as ** has a specific meaning in newer Matlab versions.
The fix is to simply remove the wildcards in any calls to rdmds or rdmds2gcmfaces.