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
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' ];
Updated GetOMEData.m and ReadImage6D.m files.
Win cash prizes and have your live script featured on our websiteLearn more
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.