Using the .NET object System.IO.​FileSystem​Watcher in a compiled standalone program

12 vues (au cours des 30 derniers jours)
Johnathan
Johnathan le 11 Avr 2014
Commenté : Matthew Reaves le 18 Jan 2017
I am using the .NET object System.IO.FileSystemWatcher to execute a command when a new file appears in a selected directory. The function works as expected when I run my script through Matlab. I then compile my script into a standalone windows executable and it no longers works.
Is the .NET functionality simply not avaiable in a compiled Matlab program? I looked at the help page for compiler limitations and did not see anything that would rule out what I'm doing. Additionally, I checked the mccExcludedFiles.log file and it did not contain any excluded functions.
I am compiling with Matlab 2009b and have the MCR v7.11 installed. Any advice on this matter would be much appreciated.
  2 commentaires
David
David le 29 Jan 2015
Jonathan,
I am also having this same issue. Hopefully, my comment will help to get this answered by a Mathworks support team member.
Matthew Reaves
Matthew Reaves le 18 Jan 2017
I am also having this issue. Any solution?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Deploy to .NET Applications Using MWArray API dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by