How to delete files from parallel pool?

7 ビュー (過去 30 日間)
George A.
George A. 2017 年 6 月 2 日
回答済み: Sid Jhaveri 2017 年 6 月 6 日
Is it possible to delete a file from a parallel pool that was previously attached by addAttachedFiles.
Thanks a lot!

回答 (1 件)

Sid Jhaveri
Sid Jhaveri 2017 年 6 月 6 日
There 3 main scenarios that I can think of:
1) Any attached files to a parallel pool will be deleted when the pool goes out of scope and is deleted.
2) Same thing is true for files attached to a particular job.
3) If you want to delete an attached file before the termination of the corresponding pool, you might have write it manually in your code. You might want to keep track of a condition and when that condition is meet, get the attached files name/path and delete it.
You might want to refer to the links given below:

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by