Code covered by the BSD License  

Highlights from
Modeling Flexible Bodies in SimMechanics

image thumbnail

Modeling Flexible Bodies in SimMechanics

by

 

08 May 2006 (Updated )

Technical paper and examples on modeling flexibility in SimMechanics.

Editor's Notes:

The download problems reported in the comments have been addressed. The zip file now downloads properly.

internal_plotpositiondata( datat , datay , whatIs )
function internal_plotpositiondata( datat , datay , whatIs )

% Copyright 2006, The MathWorks, Inc.

    figure;
    t = datat( : , 1 );
    y = datay( : , 2 ) * 1e3; % convert to mm
    plot( t, y , 'b-' );
    xlabel( 'Time [sec]' );
    ylabel( 'Y-Deflection [mm]' );
    title( [ 'Deflection of ' whatIs ] );

Contact us