The Matlab loaddap Command Line Tool

The Matlab loaddap Tool provides a way to read any DAP-accessible data into Matlab. This is the second major update to the older 'Command Line Tool' and this version adds the ability to preserve structures in data sources by creating Matlab Structure variables where appropriate. This version should be used in place of the older 'Command Line Tool' where possible. We're maintaining the older version as resources permit. You can use the tool within scripts.

Also note that Matlab 2012a Includes Built-in Support for OPeNDAP! This capability takes advantage of new features in the netCDF C library developed by OPeNDAP and Unidata under support from NSF. The blog post includes a tutorial using same data from our test server. 

Matlab loaddap Tool 3.7.3, 6 July 2015


Version 3.7.3 of loaddap fixes a handful of problems with newer versions of Matlab.

  • The configure script now works with Matlab 2009 and on.

This is a source-only release. We will build binaries as time permits; please let us know if you have a particular need and we will try to accommodate it. However, we are stretched pretty thin, so any help from the community with builds, especially for Windows, would be greatly appreciated.

Source code

To build from source, first build and install libdap, then build and install loaddap. Check the INSTALL and README files distributed with each package for specifics. The general process is to run the configure script, followed by make and make install.

Version 3.7.3
loaddap-3.7.3.tar.gz (sig). Required: libdap 3.14.1 (sig). Note that we used libdap 3.14.1 for this update but it is likely that versions back to 3.12.x will work.
 

Matlab loaddap Tool 3.7.2, 31 May 2012


Version 3.7.2 of loaddap fixes a handful of problems with newer versions of Matlab.

  • The configure script now recognizes Matlab 2010a and on.
  • The tests work again!
  • When an incompatible binary is used, a more helpful error message is displayed.

 

This is a source-only release. We will build binaries as time permits; please let us know if you have a particular need and we will try to accommodate it. However, we are stretched pretty thin, so any help from the community with builds, especially for Windows, would be greatly appreciated.

Source code

To build from source, first build and install libdap, then build and install loaddap. Check the INSTALL and README files distributed with each package for specifics. The general process is to run the configure script, followed by make and make install.

Version 3.7.2
loaddap.tar.gz (sig). Required: libdap 3.11.3 (sig). Note that we used libdap 3.11.3 for this update but it is likely that versions back to 3.8.x will work.

 

Matlab loaddap Tool 3.7.0, 4 Dec 2009


Version 3.7.0 of loaddap is built with libdap 3.9.3. You must have Matlab 2009a or newer to use these binaries. For older Matlab versions, see loaddap 3.6.1/2. Unfortunately due to changes in the OS/X and Linux package maker, you must now get separate libdap and loaddap packages and install the libdap package first, then install the loaddap package. The win32 binary has an installer that includes libdap, so all you need to do is grab the loaddap win32 binary here. It's still fairly easy…

Binaries

XP Win32-3.7.0
Win32 package (sig)
OSX Mac OS/X
Intel Mac 64-bit (snow leopard) (sig) Intel Mac 64-bit (snow leopard) (sig)
Intel Mac 32-bit (sig) libdap 3.9.3 32-bit (sig)
Linux Linux CentOS 5.2
x86_64/CentOS 5.2; (sig) libdap x86_64 CentOS 5.2
Linux Linux CentOS 5.2
i386/CentOS 5.2; (sig) libdap i386 CentOS 5.2

See below, Contributed builds, for additional binaries. Required packages The Matlab structs tool version 3.7.0 was built with libdap library version 3.9.3. Required third-party packages On win32 the libdap binary distribution contains all the third-party libraries you need; on platforms like linux and OS/X (especially 10.5 and newer) you might look over the requirements for libdap. In most cases those libraries are already present, so to avoid duplication and other problems, we don't provide them by default.

XP Win32
The libdap binary distribution contains all the third-party libraries you need as well as libdap so you don't need to get any other packages.
OSX Mac OS/X 10.3 or older
In rare cases Mac users may need to install libxml2. See the third-party software page or go directly to the libxml2 page.
Linux Linux (x86_64/i386)
Modern versions of Linux come with the needed third-party libraries.

Source code

Version 3.7.0
loaddap.tar.gz (sig). If you're after source code for WinXP, contact support about building from our SVN repository. Required: libdap 3.9.3 (sig)

Contributed builds

Version 3.7.0
Contributed: Sharing your binary builds for those operating systems not available here.
Note: for the Ubuntu binary build offered here you will need to run the following commands in usr/lib: sudo ln -s libssl.so.0.9.8 libssl.so.6 and sudo ln -s libcrypto.so.0.9.8 libcrypto.so.6

Matlab Structs Tool 3.6.1/3.6.2 (13 June 2008; 27 Feb 2009 for 3.6.2)


Version 3.6.1 of loaddap built with libdap 3.8.1. You must have Matalb 2007a2008b to use these binaries. See loaddap 3.7.0 For Matlab 2009 or newer. It contains some fixes to the documentation and to the tests and other miscellaneous fixes to the source code but no new features. However, the Window XP and OS/X installers now contain the necessary libdap binaries, too, so even though libdap is listed as required software, you only need to download the loaddap packages listed here. Linux users still have to get the libdap rpms in addition to the loaddap rpms here. 27 Feb 2009 version 3.6.2. New version and installer with an important bug fix for Widows XP/Vista. We fixed a problem where loaddap would force you restart to Matlab every so often (once every 500 times loaddap was called). This fix is in version 3.6.2 and the fix only applies to the WinXP binary; the software is unchanged for the linux and OS/X platforms. 23 July 2008 New installer for Widows XP/Vista. We've fixed a problem with the installer. Grab the new one from the link below. The version number is the same since there's no change to the software at all - just some additional run-time libraries from Microsoft. 20 June 2008 Updated the OS/X packages so that they include libdap. Binaries

XP Win32-3.6.2
Win32 package (sig) Note that this version was built against libdap 3.8.2, not 3.8.1 as with the other binaries in this section.
OSX Mac OS/X
OS/X 10.4 PPC (sig)
Intel Mac (sig)
Linux Linux
ix86_64/Fedora Core 8; libdap i86_64 FC8
Linux Linux
i386/Fedora Core 8; libdap i386 FC8

Required packages The Matlab structs tool requires the libdap library, version 3.8.1 or 3.8.2. Do not use the new 3.9.0 libdap with ml-structs 3.6.1 or 3.6.2. (note that the Windows XP installer includes the correct version of libdap). Required third-party packages On win32 the libdap binary distribution contains all the third-party libraries you need; on platforms like linux you should look at the requirements for libdap. In most cases those libraries are already present, so to avoid duplication and other problems, we don't provide them by default. The Mac falls somewhere in between.

XP Win32
The libdap binary distribution contains all the third-party libraries you need as well as libdap so you don't need to get any other packages.
OSX Mac OS/X 10.4 or greater
In rare cases Mac users may need to install libxml2. See the third-party software page or go directly to the libxml2 page.
Linux Linux (x86_64/i386)
Modern versions of Linux come with the needed third-party libraries.

Source code

Version 3.6.1
loaddap.tar.gz (1.2 MB) (sig). If you're after source code for WinXP, contact support about building from our SVN repository. Required: libdap++ 3.8.1 (1.3 MB) (sig)

Contributed builds

Version 3.6.1
Contributed: Sharing your binary builds for those operating systems not available here.

Matlab Structs Tool 3.6.0 (4 May 2008)


Binaries The 3.6.0 distribution of loaddap was released bundled with the OPeNDAP/URI Matlab Ocean Data Toolbox on 28 Feb 2008. We intended to provide loaddap distributions, but the toolbox is only slightly larger than the loaddap binary by itself, so until we make those distributions, we suggest you get the new version of loaddap from the toolbox download site. Source code If you would like a source release of loaddap 3.6.0, please email support at opendap.org.

Matlab Structs Tool 3.5.2 (28 April 2006)


Binaries

 Win32
Win32 package
 Mac OS/X
OS/X 10.4(Tiger) package
Intel Mac
 Linux
 ix386/ix86_64/Fedora Core 4 .
 Linux
 i386/RedHat Enterprise3 .

Required packages The Matlab structs tool requires the libdap library, version 3.6.2. Required third-party packages On win32 the libdap binary distribution contains all the third-party libraries you need; on platforms like linux you should look at the requirements for libdap. In most cases those libraries are already present, so to avoid duplication and other problems, we don't provide them by default. The Mac falls somewhere in between.

 Win32
The libdap binary distribution contains all the third-party libraries you need.
 Mac OS/X 10.4 or greater
The Mac users may need to install libxml2. See the third-party software page or go directly to the libxml2 page.
 Linux (x86_64/i386)
Modern versions of Linux come with the needed third-party libraries.

Source code

Contributed builds

Version 3.5.2
Contributed: Sharing your binary builds for those operating systems not available here.
loaddap.pkg.zip (loaddap for the intel mac). Required: libdap++ 3.6.2 (1.3 MB)

Matlab Structs Tool 3.5.1 (30 Dec. 2005)


Binaries

 Mac OS/X
OS/X 10.4(Tiger) package (3.7 MB).
 Linux
 ix386/ix86_64/Fedora Core 4 .

Source code

Matlab Structs Tool 3.5.0 (14 Dec. 2005)


Binaries

 Mac OS/X
OS/X 10.4(Tiger) package (3.7 MB).

Source code

Matlab Structs Tool 3.4.5 (9 July 2004)


Binaries

 Linux (x86)
Red Hat 7.3, tar.gz format (2.2 MB). Build: gcc 3.0, glibc 2.2.5, Kernel 2.4.20, statically linked.
Red Hat 8.0, tar.gz format (2.2 MB). Build: gcc 3.2, glibc 2.3.2, kernel 2.4.20, statically linked.
Fedora Core 1, tar.gz format (0.9 MB). Build: gcc 3.3.2, glibc 2.3.2, kernel 2.4.22, dynamically linked.

Source code

Version 3.4.5
tar.gz (640 KB). Required: libdap++ 3.4.8 (2.7 MB) and packages 3.4.4 (4.8 MB)