Matlab Exchange Thread
To start things off, I'm attaching a script for converting Aquadopp Profiler ASCII data to matlab .mat files. The raw .prf file must first be converted using Nortek's AquaPro into ASCII format. Do not check "include wave burst time" during AquaPro conversion.
Although bin2mat already provides a similar function, I wanted access to the raw data, and all of it. The output is: **~Profile.mat : contains all the general information plus profiles
**_####.mat: each individual waveburst
Unfortunately I cannot offer tech support, but I will continue to post updated versions.

We deploy in shallow water, where cells are sometimes out of the water. Comparing this distance to the pressure reading allows me to discard cells above the water surface.
(Posted by NickMortimer Dec. 05 2007)
Hi All,
I've been getting into writing MEX files for matlab. Here is a mex file for converting *.vec files to matlab structures.
Please note that it is only compiled for windows. But could compile for Linux at a later date.
Note there seems to be a reduction of about 70% in file size.
I have tried to keep the original types where possible.
Just unzip to a directory on the path and type nortek_vconvert
It takes about 30 - 50 seconds on my old machine ![]()
It saves the .mat file in the same dir as the original file.
Have fun
I'd be interested to here from you
Nick
I appreciate the the bin2mat software has been made available for Windows platforms; unfortunately, our data processing infrastructure is on Linux.
Can a Linux port or the source code be made available?
Hello Mike,
The source code was posted in another thread titled "Nortek to Matlab". If the following link works you will find it towards the bottom of the discussion.
You will also note that there a user, Nick Mortimer, has done is own MatLab tools for converting to MatLab format. It is better in the sense that it works ,-) I encourage you to try this or get in contact with him if you are looking to further develop this.
kind regards,
Torstein

