Simscape Language: Nonlinear Spring
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://au.mathworks.com/matlabcentral/fileexchange/25238-simscape-language-nonlinear-spring), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Nonlinear_Spring_ssc_R09a/
Nonlinear_Spring_ssc_R16a/
| Version | Published | Release Notes | |
|---|---|---|---|
| 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 |
