File Exchange

image thumbnail

Control ZEN Blue and the microscope from MATLAB

version (679 KB) by Sebastian
Control the ZEN Blue microscope control software from within a MATLAB script


Updated 19 Sep 2016

View License

This example illustrates the possibility to control the ZEN Blue microscope control software from within a MATLAB script via the COM interface. This allows using the ZEN Python scripts as an integral part of an M-File.
The ZEN OAD (Open Application Development) API can be imported into MATLAB and allows automating the complete workflow including the image acquisition from MATLAB.
- ZEN is used as an image acquisition machine
- the experiment is started directly from within MATLAB
- the resulting CZI file is imported via BioFormats
- the image analysis is done in MATLAB

Comments and Ratings (2)

Shalin Mehta

Nice work! I found the ReadImage6D very useful. I had to do small change on MATLAB2015b for waitbar to work.

Line 32 of ReadImage6D.m needs to be edited as follows - because strjoin on 2015b expects a string:
wstr = ['Reading Images: ' num2str(framecounter) ' of ' num2str(totalframes) 'Frames' ];

Shalin Mehta


Updated GetOMEData.m and ReadImage6D.m files.

Corrected Typos.

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.

Learn About Live Editor