- what is index_d and what kinds of values are in it?
- examples of what the file names look like (e.g. img54927.jpg)
How can I acssess File in a compute node in my cluster
1 回表示 (過去 30 日間)
古いコメントを表示
- Hi,
- I have files stored in path 'x'
- I'm using this code
- if true
spmd
index_loc=getLocalPart(index_d);
tic;
for j=index_loc
temp=imread(strcat('x/',num2str(j),'.jpg'));
end
toc
end
end
and getting error that file doesn't exist
1 件のコメント
Jason Ross
2012 年 9 月 17 日
Can you clarify:
Also, if you do this manually, e.g.
spmd
temp=impread('full_path_to/filename.jpg');
end
Does it work as expected? You can use spmd pretty interactively at the command prompt for troubleshooting.
回答 (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!