Reading file content while running on cluster
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
How can I read an output file that has been saved by a function running on a server through the matlab function BATCH, before the work has completed?
for example: script.m
for ii=1: 10
x= dosomething(ii);
fwrite (file,x.'uint32');
end
running in bacth:
batch (mycluster,'script');
Goal: get file content from server while loop still running(i.e. ii=5)
Another point worth mention : file is not the output of the script nor any other function, its only saves partial results.
Thanks in advance.
2 件のコメント
Edric Ellis
2015 年 7 月 23 日
Are you attempting to write the file to a location on disk that can be seen by both client and workers?
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で MATLAB Parallel Server についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!