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 Kommentare

Stefan
Stefan am 9 Mär. 2015
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 am 12 Jun. 2015
Still a problem in R2015a. MATLAB tech support: do you know about this?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Gefragt:

K
K
am 8 Nov. 2014

Kommentiert:

am 12 Jun. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by