This file contains Simscape language source code for nonlinear springs. One example uses a custom equation and the other uses a lookup table.
To view a video (3 minutes) showing a nonlinear spring example, go to: http://www.mathworks.com/videos/simscape-language-mechanical-example-68868.html
To view a webinar (35 minutes) about the Simscape language, go to:
To learn more about MathWorks Simscape products, go to:
Added R2016a version with stiffness defined using tablelookup() in Simscape Language.
Fixed webinar link.
Updated link to video in "Description" field. No changes to files in submission.
Updated link to webinar.
Added copyright to PDF file
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.