.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