Parallel Computing fmincon in a for loop

14 ビュー (過去 30 日間)
Mohammad Behtash
Mohammad Behtash 2020 年 4 月 12 日
編集済み: Mohammad Behtash 2020 年 4 月 12 日
Hi,
I have a for loop in which I run an fmincon optimization with parallel computing at each iteration. At the first iteration everything goes fine; however, in the second iteration I get the following warning.
File 'C:\Users\... \MathWorks\MATLAB\local_cluster_jobs\R2018b\Job2.lockstate' not found.
Note that I do use delete(gcp('nocreate')) in the beginning of each itration to delete the previous jobs.
Even though this is not an error and does not stop the code, I would appreciate it if someone could tell me if it is something that I should be worried about or not.
Thanks.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by