Simscape Language: Van Der Pol’s Equation

Simscape language example showing how to implement and solve a nonlinear second-order ODE.

You are now following this Submission

This file contains the Simscape language source code implementing Van Der Pol’s equation (x′′ - μ(1-x2)x′ + x = 0). We rewrite the equation as a system of first-order ordinary differential equations (ODE), and then implement them as a vector. This file also contains a Simulink model that can be used to plot the solution to this equation in time.
To find other Simscape language examples, search for posts with the keyword "simscape language"
http://www.mathworks.com/matlabcentral/fileexchange/?term=%22simscape+language%22
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: Van Der Pol’s Equation (https://www.mathworks.com/matlabcentral/fileexchange/25639-simscape-language-van-der-pol-s-equation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated license

1.4.0.0

Added R2016a version.

1.3.0.0

Fixed webinar link.

1.2.0.0

Updated link to webinar

1.0.0.0