Code covered by the BSD License  

Highlights from
sie2mat

5.0

5.0 | 1 rating Rate this file 27 Downloads (last 30 days) File Size: 224 KB File ID: #42950
image thumbnail

sie2mat

by

 

05 Aug 2013 (Updated )

The program sie2mat( SIE 2(to) MATlab ) reads binary SIE files and saves the data as a mat files

| Watch this File

File Information
Description

Latest version v1.3.0

Version 1.3.0 combines the two executables:
sie2mat_ws.exe
sie2mat_sa.exe
into a single executable sie2mat.exe
[Version 1.3.0 is backward compatible with sie2mat_sa.exe . To use the previous versions modify the sie2mat_loc parameter in the sie2mat.m file accordingly.]

The function sie2mat.m calls sie2mat.exe and loads data from a sie binary file directly to the MATLAB work space and saves the data to a MATLAB structure array. This program eliminates the process of opening the measurement files, SIE files, in InField to export the data as ascii files.

If a video channel is found the program will create a separate video structure. The program will load every frame separately to the structure. To convert the structure to a video use the function convert2vid.m [also included in this submission].

Run run_sie2mat.m to start.

mat2sie.exe and all required dll's can be downloaded from:
http://sourceforge.net/projects/sie2mat/

Please read the readme files for installation instructions if you have problems.

If you have any other/new problems feel free to contact me.

Program is based on the libsie SIE reader library found at:
http://www.hbm.com/en/menu/support/software-firmware-downloads/data-acquisition-systems/somat/

Required Products MATLAB
MATLAB release MATLAB 8.2 (R2013b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
30 Oct 2013 Joachim Stallmann

Hi Aaron, thanks for the comment.

I had some problems to compile the 32bit version. The 32 bit computers still run Matlab 2007, which I suspect might be the problem. Will try to compile it with the MCR of Matlab R2013b( just guessing here). I will look into it this weekend.

I will upload the source code this weekend. Maybe there is a skilled coder out there that can take a look at it.

Happy that the 64bit version works, had no time to test it yet.

25 Oct 2013 Aaron

The standalone version is working great! I am having some trouble working with the old 32 bit version for a friend. It keeps opening a new instance of matlab despite opening matlab using the "-automation -desktop" setting. Any thoughts? Or any way to get a 32 bit version of the standalone?

25 Sep 2013 Joachim Stallmann

Hi Jari,
Yes no problem. Please send me an email and I will send the code.

I updated the code, maybe it works better now. See version 1.2.0

24 Sep 2013 Aaron

Is it possible to see the source code for the sie2mat exe file? I'm a novice at this stuff too but I think it would be a good learning experience.

19 Sep 2013 Joachim Stallmann

Hello Jari

Chances are that you are correct. I am still a novice programmer but it makes sense to look into it. I will see what I can figure out and let you know. Thanks

19 Sep 2013 Jari

Hello Joachim,

I tried to run sie2mat for smaller file (size about 1.1 MB) and it worked. I can not open file which size is 70 MB. I found that the 1.1 MB file took in Matlab about 4.5 MB. I think that data in the .sie file is in single (32 bit) or even half (16 bit) precision. In Matlab the signals were in the double precision. Is it possible to make sie2mat program which gives signals in single precision to Matlab? This would be handy for bigger files.

I have 32 bit- Windows 7 so I think that the problem in opening the bigger file is the memory.

Thanks

17 Sep 2013 Joachim Stallmann

Hi Jari

I have not tied to run the program on 2010b. But I don't think it should be a problem. As to the size of the file, this is dependent on the memory of your computer. If you don't mind, send me an email with the SIE file and I can look into it.

I am busy with an update so that the program saves the SIE file as a MAT file. Then the Matlab version should not be a problem.

17 Sep 2013 Jari

Hello. I have release 2010b and I can run the demo run_sie2mat_sample.m. But when I try to open my own .SIE file it will give Visual C++... debug error.
Is version 2012b needed or are there size limits for opened .SIE file?

07 Aug 2013 Aaron

Awesome, awesome, awesome! I've been looking for something like this forever. Thanks for sharing, took a little tweaking but it's running like a champ.

Updates
25 Sep 2013

Updates v1.2.0:
 sie2mat_ws.exe - reduced precision to single.
 sie2mat_sa.exe - New standalone version.

04 Nov 2013

Source code available at http://sourceforge.net/projects/sie2mat/

11 Mar 2014

Version 1.3 combines the two executables:
sie2mat_ws.exe
sie2mat_sa.exe
into a single executable sie2mat.exe

11 Mar 2014

Updated the MATLAB code.

11 Mar 2014

Version 1.3.0 is backward compatible with sie2mat_sa.exe . To use the previous versions modify the sie2mat_loc parameter in the sie2mat.m file accordingly.

Contact us