Creating a wave signal integrator in Simulink

To model a new system, let's start by opening Simulink. We can open it by typing the following command in the Command Window:

>> Simulink  

Then, you should choose to create a new blank model. To create a new system, we must import the desired Simulink blocks that will compose it. These blocks can be directly dragged and dropped into the model window from the Library Browser. To open the Library Browser, select View | Library Browser from the model pane toolbar. For our first system, we need four blocks:

  • Sine Wave: This generates a sinusoidal signal that will represent the input of our system
  • Integrator: This integrates an input signal
  • Bus Creator: This combines multiple signals in one signal ...

Get Mastering ROS for Robotics Programming - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.