MATLAB: Running MATLAB automatically

automationimage processingscript

Hi guys!
I am doing a project which involves automatic image processing of eggs. The specific problem I am now facing is how to continually feed images into my algorithm. The process is similar to a factory setting -> Copy image of egg into a folder, MATLAB runs the algorithm on the image and spits out a result, and then another image comes, and the images keep on coming
I have an ideas on how to implement this:
1) Have MATLAB continually running and have it woken up whenever an image comes into the folder. Either this can be in form of an interrupt, or it can check the contents of the folder every minute
Can this be done, or does anyone have ideas on how I can do this ?

Best Answer

I suggest to completely skip of acquiring the images with another software and copying them into a folder and instead acquire the images directly in MATLAB using the Image Acquisition Toolbox