Simscape Language: Nonlinear Spring

Simscape™ language example of nonlinear mechanical springs

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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:
http://www.mathworks.com/videos/physical-modeling-with-the-simscape-language-81733.html

To learn more about MathWorks Simscape products, go to:
http://www.mathworks.com/physical-modeling/

Cite As

Steve Miller (2026). Simscape Language: Nonlinear Spring (https://in.mathworks.com/matlabcentral/fileexchange/25238-simscape-language-nonlinear-spring), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0.1

Updated license

2.0.0.0

Added R2016a version with stiffness defined using tablelookup() in Simscape Language.

1.9.0.0

Fixed webinar link.

1.8.0.0

Updated link to video in "Description" field. No changes to files in submission.

1.7.0.0

Updated link to webinar.

1.6.0.0

Added copyright to PDF file

1.0.0.0