Installting the netcdf toolbox in Matlab

From GHER

Jump to: navigation, search

Install mexnc

Get http://sourceforge.net/projects/mexcdf/files/mexcdf/mexcdf.r4053.zip (or updated version from https://sourceforge.net/projects/mexcdf/) and unzip in your ~/matlab folder. Add the directory ~/matlab/mexcdf/mexnc to your search path.

Install the netcdf_toolbox

cd ~/matlab
svn co svn://svn.code.sf.net/p/mexcdf/svn/netcdf_toolbox/trunk netcdf_toolbox

Add the following in your startup.m file:

addpath ~/matlab/netcdf_toolbox/netcdf/nctype
addpath ~/matlab/netcdf_toolbox/netcdf/ncutility
addpath ~/matlab/netcdf_toolbox/netcdf
Personal tools