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 use this example, you will need to first build the component using the command ssc_build. Please read the README.txt file to get started.
To find other Simscape language examples, search for posts with the keyword "simscape language"
To view a webinar (35 minutes) about the Simscape language, go to:
To learn more about MathWorks Physical Modeling Products, go to: http://physical-modeling.mathworks.com/