File Exchange

image thumbnail

Catman File Importer

version 1.2.0.1 (111 KB) by Andreas Geissler
With the M-File catman_read binary catman DAQ files can be read in directly.

12 Downloads

Updated 22 Feb 2019

View License

After execution of the M-File catman_read, the content of binary catman DAQ files are available in MATLAB. Two structured variables (one with global content, one with DAQ data) are delivered by the M-File.

Catman Online Data files are not supported.

Hint: This version is an unsupported version.
HBM can not give any support.
File versions of catman have changed and the newest versions are not supported.

Cite As

Andreas Geissler (2019). Catman File Importer (https://www.mathworks.com/matlabcentral/fileexchange/6780-catman-file-importer), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (12)

HBM would like to make its own catman file importer available on the Matlab file exchange.
As soon as this is done, this Post will be deleted.

Thanks Daniel for the fix! Works with
catmanEasy/AP version=5.0.1.39

Function seems to be working with the additions made by Daniel. There is a minor bug though concerning the formula information which is retrieved but then disregarded.

When lines 183-185 are changed to the following the formula is also saved to the channel information:

if Lf>0,
formula = setstr(fread(fid[1,Lf],'char'));
chaninfo.formula = formula(3:end); % Remove @@ for convenience
else
chaninfo.formula = '';
end

Working nicely for me, too with Daniel's mod. Thanks a lot!
catmanEasy/AP version=4.4.1.17

Another confirmation Daniel's fix below works successfully.

CatmanEasy Version 3.5.1.48

Kim

Daniel's patch seems to work correctly for a file I've just received.

Without it headers decoded correctly but data is clearly incorrect.

As of version 3.2.1, Catman can export data to mat files. I don't know if Catman File Importer with the above fix works for versions above 3.1.11.

I am using Catman Easy 3.1.11 and this importer DOES work for new versions, but you need to make the following modifications to catman_read.m:

Change line 88:
dataoffset=fread(fid,1,'long'); % Offset in Byte from start of file for Data Area
to:
a1.dataoffset=fread(fid,1,'long');
Add line 195:
fseek(fid,a1.dataoffset,'bof'); % Jump file pointer to data area

I can't test it with data files from older versions of Catman, so can anyone verify that it works? I've contacted HMB and asked them to check as well. The author's email address at HBM appears to no longer be active.

Edwin

As per version of Catman easy 3.1.1 the internal Catman data format is changed. This has not yet been reflected in a new version of catman_read

Edwin

I have worked with the old version for a long time. It works flawlessly up untill now. After an upgrade of Catman easy the catman_read function delivers incorrect data. An upgrade of the function as per 26 April 2010 does not function because the zip file contains the old catman_read function dated at 4/22/2005. Should there not be a new version of the catman_read function?

Jakab Gábor

just works. great!

gautam jain

makes it real easy to read catman files; real sweet!

Updates

1.2.0.1

removed outdated contact data

1.2.0.0

Reads the content of a catman (prof. or easy) measurement file, which will be contained in a structure

1.0.0.0

Empty channels of the catman database have as data content not an empty matrix, but the data of the last non-empty channel before. This behaviour has been removed

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux