Navigation

This Page

Using run_agetmat to get averaged dataΒΆ

NOTE: To access the database, you must also have the executable getmat on your path (Matlab extracts the data using getmat and then loads it for use). These links (above) show the location of the adcpsect executable. That location contains getmat and MUST be on your path. If you add it to your shell for a one-time use, start matlab from that shell command line. Otherwise, you must make the change permenant. In any case, Matlab must know where to find getmat.

Once you have access to the UH programs directory (call it UHprograms) you must correctly add the matlab programs to your matlab path. The best way to do that is

  1. add UHprograms*/matlab to your matlab path
  2. type adcppath and radcppath in matlab
  3. NOTES:
  • do not use any variables called bb, nb, or os if you are using UH programs. These variables are used in UHprograms.

  • do not add all programs recursively under UHprograms/matlab to your path, or you will have obsolete and conflicting versions.

  • type help run_agetmat to verify that this is on your path

  • You do not need to know how to use getmat (the Matlab program will figure all that out), but you do need to verify that Matlab knows where to find it. Type the following on the Matlab command line to verify that it knows where to find getmat. You should get a message about usage.

    !getmat

Now you can follow theseinstructions to access CODAS data with run_agetmat.