Locking file on system from standalone app
显示 更早的评论
Is it possible to lock a file in a compiled, standalone Matlab exe so that some separate program will know the file is locked? I will control both apps, so it's ok if the lock is not strictly enforceable.
回答(1 个)
Walter Roberson
2014-4-16
0 个投票
One of the easier ways is to create a lock file that the other routine checks for, deleting the lock file to unlock.
2 个评论
Sean
2014-4-16
Walter Roberson
2014-4-16
You can just create any file whose name is agreed upon between the two parts.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Compiler 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!