Please run "test_snctools.m". These produce a lot of very verbose output. Don't be fooled by any of it, if any tests fail, you will know. In order to test java functionality with OPeNDAP, you should set both of these preferences. >> setpref('SNCTOOLS','USE_JAVA',true); >> setpref('SNCTOOLS','TEST_OPENDAP',true); In order to test OPeNDAP with mexnc, you should set both of these preferences (this assumes you have an opendap-enabled version of mexnc. >> setpref('SNCTOOLS','USE_JAVA',false); >> setpref('SNCTOOLS','TEST_OPENDAP',true);