Print function for Matlab 7.13 R2011b.

I have this version of Matlab and had problems using a printfunction from a m-file from Matlab 7.5.0 R2007b. The command I'm using to print the figure ModeShapeFiguresX is: print(ModeShapeFiguresX,'-dpng','Ex1 Mode Shapes along y-axis, look in x-direction');
It work fine for the other version (7.5.0), but I get this error:
Error using name (line 104) Cannot create output file '.\Ex1 Mode Shapes along y-axis, look in x-direction.png'
Error in print (line 206) pj = name( pj );
Error in Ex1_Lowrise_x (line 672) print(ModeShapeFiguresX,'-dpng','Ex1 Mode Shapes along y-axis, look in x-direction');

Answers (1)

Categories

Tags

Asked:

on 25 Oct 2012

Community Treasure Hunt

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

Start Hunting!