View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

5.0 | 1 rating Rate this file 3 Downloads (last 30 days) File Size: 217 KB File ID: #42950 Version: 2.1
image thumbnail




05 Aug 2013 (Updated )

The program sie2mat reads binary SIE files and loads the data into the MATLAB workspace.

| Watch this File

File Information

Latest version v2.1.0
The program sie2mat reads binary SIE files and loads the data directly into the MATLAB workspace.
Supported data formats:
     - MESSAGE
Unsupported data formats:
     - BURST
mat2sie.cpp and all required dll's can be downloaded from:

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

How do I compile sie2mat:
        - Run "setup -mex" to ensure a supported and compatible compiler has been setup.
                ( A list of suported compilers:
        - Download the latest sie2mat.cpp code (located in the source_code folder).
        - Download the latest libsie and libapr libraries( located in the lib folder - all files in the x86/x64 subfolder)
        - Make sure that the source code and the necessary libaries are in the same folder.
        - Run compile_sie2mat (located in the Matlab_code folder)

Error compiling sie2mat.cpp
        - This could be due to various problems. Please read the error message carefully.
        - A error massage that seems to be happening quite often is :
                c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\intrin.h(26) : fatal error C1083: Cannot open include file: 'ammintrin.h': No such file or directory
        -This is a Microsoft Bug see
        -Download the ammintrin.h header file (located in the ammintrin folder) and place it into:
                 "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\"

Error running sie2mat.mex
        - This could be due to various problems. Please read the error message carefully.
        - A error massage that seems to be happening quite often is :
                Invalid MEX-file sie2mat:
                The specified module could not be found.
        - This module cannot find its dependent libraries. See
        - A quikfix might be to download and install the Microsoft Visual C++ 2012 Redistributable Package. The libsie and libapr-1 libraries were built with Visual Studio 2012.

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

Program is based on the libsie SIE reader library found at:

Required Products MATLAB
MATLAB release MATLAB 8.6 (R2015b)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
05 Jan 2016 Joachim Stallmann

Please visit:

to download the required files.

Comment only
31 Aug 2015 Chad

Chad (view profile)

Am I mistaken or are there no .exe files included in the download? I've looked here and the files and can't find the sie2mat.exe file.

Comment only
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.

Comment only
25 Oct 2013 Aaron

Aaron (view profile)

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?

Comment only
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

Comment only
24 Sep 2013 Aaron

Aaron (view profile)

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.

Comment only
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

Comment only
19 Sep 2013 Jari

Jari (view profile)

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.


Comment only
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.

Comment only
17 Sep 2013 Jari

Jari (view profile)

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?

Comment only
07 Aug 2013 Aaron

Aaron (view profile)

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.

25 Sep 2013 1.1

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

04 Nov 2013 1.2

Source code available at

11 Mar 2014 1.3

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

11 Mar 2014 1.4

Updated the MATLAB code.

18 Dec 2015 1.5

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.

05 Jan 2016 2.1

Latest version v2.1.0
Runs faster and more stable. v2.1.0 uses the latest libsie and libapr libraries.

Contact us