Code covered by the BSD License  

Highlights from
Modeling Flexible Bodies in SimMechanics

image thumbnail
from Modeling Flexible Bodies in SimMechanics by Dallas Kennedy
Technical paper and examples on modeling flexibility in SimMechanics.

paperfig_dosave( name )
function paperfig_dosave( name )
% PAPERFIG_DOSAVE  Save the current figure in various formats
%
% PAPERFIG_DOSAVE( NAME ) saves the current figure in .fig, .eps, and .jpg
% formats with the filename NAME.

% Copyright 2006, The MathWorks, Inc.
    
saveas( gcf, [ name '.fig' ] ,'fig' );
saveas( gcf, [ name '.eps' ] ,'epsc' );
saveas( gcf, [ name '.jpg' ] ,'jpg' );

Contact us at files@mathworks.com