This model implements a double pendulum both in SimMechanics™ and using basic Simulink® blocks.
You can see how easier it is using SimMechanics™!
Nice, this was helpful for me as I am testing out SimMechanics for the first time.
Alan - what release are you using? This was made for R2008b and greater. Guy may be able to save back to the version you are using. Note this file does require SimMechanics.
Model wouldn't load for me, quite a few warnings:
generated with a newer version (7.2) of Simulink
block_diagram does not have a parameter named 'SampleTimeAnnotations'.
Value 'Nonadaptive' is incompatible to parameter 'ZeroCrossAlgorithm'.
does not have a parameter named 'UpdateFromCAD'
does not have a parameter named 'BodyVisualizationType'
does not have a parameter named 'BodyColorSelMode'
does not have a parameter named 'DefaultBodyColor'
Did anyone else have these issues?
minor modif for BSD license
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.