Very slow print '-append' over network
Mostrar comentarios más antiguos
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 comentarios
Stefan
el 9 de Mzo. de 2015
I see a similar factor of 20 when using '-append' on network drives with R2014b. Is there any improvement in R2015a?
Pstrang Rzekle
el 12 de Jun. de 2015
Still a problem in R2015a. MATLAB tech support: do you know about this?
Respuestas (0)
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!