Can Í have a listener in a class that checks if the folder-content is changed?
6 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Wilson A N
2017-1-20
编辑:per isakson
2017-2-10
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!