Installing MatlabΒΆ


As of April 2013, this version of the documentation is no longer maintained; however, it is consistent with the last (now retired) version of CODAS processing that used Matlab. We no longer update or fix the Matlab processing code, but we will maintain the Matlab code that reads CODAS Matlab output. Although the notes refer to both Python and Matlab processing, none of the code here will be maintained. This (now retired) documentation and code will remain available for awhile longer.

Python processing code is actively maintained and developed, and CODAS Python processing is documented here.

Processing of UHDAS data can be done with either Matlab or Python. Python is much faster and the graphical tools (editing, viewing, making a web page) are superior. Postprocessing of either VmDAS or UHDAS (eg. from a ship) can be done without Matlab.

But if you need Matlab to process ADCP data:

  1. Install Matlab (R2007b recommended), available from The MATHWORKS

    NOTE: For Windows, only install a 32-bit version.

  2. Windows users: do not forget step 3 here or will not be able to start the Matlab engine.

  3. OPTIONAL but recommended: “m_map”

    Rich Pawlowicz wrote m_map, an excellent, free Matlab mapping toolbox that our code uses extensively. Although it is not required for ADCP processing, your editing plots will be vastly improved if you have it.


    • You may have to fiddle with the default renderer (‘zbuffer’ or ‘painters’) to get topography to show up (otherwise it can be all white) – perhaps different versions of matlab vary in how they treat patches?
    • There are instructions on the m_map web site about getting additional topography. It is not required, but helps when editing ADCP data near shore.