Simscape Language: Nonlinear Spring

version (232 KB) by Steve Miller
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 (2022). 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!