The Matlab Structs Tool (aka 'loaddap') 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.