Very slow print '-append' over network

I use the print command with the '-append' option to make a multipage PS file. I recently updated to 2014b and the -append option seems extremely slow. Using the following code:
outfile = '\\nsgroup3\m2020_scs\pstest.ps';
% make a big figure
myfig = figure;
plot(1:10000,rand(10000,1))
% and another
myfig2 = figure;
plot(1:10000, rand(10000,1))
print(myfig, '-dpsc2', outfile);
tic
print(myfig2, '-dpsc2', outfile, '-append');
toc
Without the -append, the 2nd print command is done in < 1 second. With the -append, it takes ~20 seconds. If I change the file output location to be on my local disk the problem disappears. That is, the 2nd print command with the -append takes < 1 second.
I doubt the network speed is an issue, I copied a 700 MB file in < 10 seconds.
When the 2nd print command is doing it's thing, I do see a randomly-named .ps file in the output folder whose size is growing very slowly.
Thanks for any suggestions!

2 件のコメント

Stefan
Stefan 2015 年 3 月 9 日
I see a similar factor of 20 when using '-append' on network drives with R2014b. Is there any improvement in R2015a?
Pstrang Rzekle
Pstrang Rzekle 2015 年 6 月 12 日
Still a problem in R2015a. MATLAB tech support: do you know about this?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

K
K
2014 年 11 月 8 日

コメント済み:

2015 年 6 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by