Simscape Language: Nonlinear Spring

Simscape™ language example of nonlinear mechanical springs
Updated 1 Sep 2016

View License

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:
To view a webinar (35 minutes) about the Simscape language, go to:

To learn more about MathWorks Simscape products, go to:

Cite As

Steve Miller (2024). Simscape Language: Nonlinear Spring (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!



Version Published Release Notes

Updated license

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