6 |
% workspace of the "caller" of this routine. If no names |
% workspace of the "caller" of this routine. If no names |
7 |
% are given, all variables are loaded. |
% are given, all variables are loaded. |
8 |
|
|
9 |
global useNativeMatlabNetcdf; if isempty(useNativeMatlabNetcdf); useNativeMatlabNetcdf = ~isempty(which('netcdf.open')); end; |
global useNativeMatlabNetcdf; |
10 |
|
if isempty(useNativeMatlabNetcdf); useNativeMatlabNetcdf = ~isempty(which('netcdf.open')); end; |
11 |
|
|
12 |
f = ncopen(fileIn, 'nowrite'); |
f = ncopen(fileIn, 'nowrite'); |
13 |
if isempty(f), return, end |
if isempty(f), return, end |