Can Í have a listener in a class that checks if the folder-content is changed?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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)
0 Kommentare
Antworten (1)
Wilson A N
am 20 Jan. 2017
Bearbeitet: per isakson
am 10 Feb. 2017
You can use the 'addlistener' function to do this. The below link describes it:
You can also check out the other answers in the links given below which more or less address your query:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!