File Exchange

image thumbnail

Igor Pro file format (ibw) to matlab variable

version (6.83 KB) by Jakub Bialek
A fileset for importing waves from Igor binary file to matlab workspace


Updated 18 Jul 2013

View License

Put them in to your Matlab folder and add path to them in Matlab.

Function call:


where b is path to the ibw file.

Cite As

Jakub Bialek (2020). Igor Pro file format (ibw) to matlab variable (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (13)

First thank you for the nice script, it worked like a charm for my Bachelorthesis. At the moment I am struggling with automatically assigning the right channel names to the recorded Data stored in D.y. I know that you can get these names form the WaveNotes, but I do not know how to obtain the information if this name corresponds to multiple datasets (trace and retrace) or just to one (trace). Is it possible to access this information (since Gwyddion can do it there has to be a way)?

Channels: Hight / Lateral / Deflection / ZSensor
D.y: 512x512x7
Sample File:!ArojbO7a7fVYnTqSXR3ii7eYCC8k?e=glC5Zz

Bryce Grier

Erik Sauer


Thank you, Jakub, your function saves a lot of time when working with photoemission data!
There is a bug in a function IBWread, in the lines 11-12 the command fid = fopen(FFN,'r') is repeated twice. Then at some point you need to reboot matlab because it has opened too many files.

Long Chang

Thanks Jakub. I used your function to read AFM data from Asylum Research AFM. This saves me so much time analyzing drift data.

Long Chang

I used to use this function and it worked exceptionally. I am now using a different acquisition software, which still create IBW files on Igor Pro, but I'm unable to load them on MatLab. When I try, i get this error: Error using readIBWbinheader (line 31)
Cannot read version 1280 IBW files - only versions 2,5 are okay.

Is there a way to fix it? Should I modify the Igor Pro script or is there something I can do directly on MatLab? Any suggestion on how to cnvert those files?
Thank you very much!


Hi Sandy, open your pxt file with Igor and save it as .pxu (unpacked) format. As soon as you do this, Igor will create a folder in the file's directory with .ibw files in it.

Hi, I have pxt file, could you help me on how to read it with matlab?


i do have IBW file can u elaborately tell me how should i export an ibw file into matlab. i tired IBWread(myfile location), but it doesnt work;

Excellent import from Igor Pro. Works fine.

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

Inspired: Disp_ibwImages, Peaker Analysis Toolbox