.NET functionality in a compiled script

I am using "System.IO.FileSystemWatcher" along with "addlistener" to monitor a directory and then execute a function when a new file appears. This works as intended when the GUI tool is run from Matlab. However, when I compile the tool it no longer works. The compiler does not give any error messages, nor does the tool.
Is the .NET functionality not available in a compiled matlab tool, or do I need to include something extra when compiling? Any advice is appreciated.

이 질문은 마감되었습니다.

질문:

2014년 4월 29일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by