|
On Dec 15, 4:52 am, "Arseny Kubryakov" <arsk...@gmail.com> wrote:
> Dear all!
>
> I read netcdf files with netcdf toolbox as
>
> sl= netcdf('nrt_global_merged_msla.nc','nowrite');
>
> It works ok
>
> But! When I create a stand-alone application with MCR the programm didn't work
>
> It writes
>
> Error in ==> ncmex at 139
>
> Error in ==> netcdf.open at 20
>
> Error in ==> netcdf.netcdf at 416
>
> Error in ==> test_errors_nc at 4
>
> MATLAB:UndefinedFunction
>
> I try to copy netcdf.dll into programm folder, but .exe file didn't work!
>
> Please help me!
> Respect!
I don't know what MCR means.
But if you can read a .nc file using netcdf, you should be able to
write one like this:
nc=netcdf(ncfile,'clobber');
nc.description='Database of historical p, u, and v from NOAA''s GFS
model';
nc.date=datestr(now,'dd-mmm-yyyy');
etc
Please describe exactly how you created and inserted data into
your .nc file.
Did you try ncdump on your .nc file?
|