Can Í have a listener in a class that checks if the folder-content is changed?

I have a folder that recievs files from time to time and I want matlab to plot the data directly as they arive in the folder...
can I add a listener that checks if for example
folderContents=dir;
is changed since last time? thenks in advance/M (FYI I'm pretty new to working with classes and never used a listener before)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Tags

Asked:

on 13 Jan 2017

Edited:

on 10 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!