|On this page…|
The Simulink® Library Browser displays the block libraries installed on your computer. You start to build models by copying blocks from a library into a Simulink Editor model window.
For example, in the Library Browser below:
In the Libraries pane on the left, the Sources library is the selected library.
The Sine Wave block is selected.
You can perform several tasks using the Library Browser, including the following.
|Task||Action to Perform Using the Library Browser|
|View the blocks in a library||In the left pane, select a library name, or in the right pane, double-click a library icon.|
|Search for a specific block||In the block search field, enter the name of a block, and then click the find block icon .|
|Get summary information about a block||Select View > Show Block Descriptions. Then select the block.|
|Get detailed information about a block||Select the block, and then select Help > Help for the Selected Block. The Help browser opens with the reference page for the block.|
|View block parameters||Right-click a block, and then select Block parameters.|
|Copy a block from the Library Browser to a model||Drag a block from the Library Browser to a Simulink Editor model window.|
Simulink software includes the following standard block libraries.
|Commonly Used Blocks||Group of the most commonly used blocks, such as the Constant, In1, Out1, Scope, and Sum blocks. Each of the blocks in this library are also included in other libraries.|
|Continuous||Model linear functions using blocks such as the Derivative and Integrator blocks.|
|Discontinuities||Create outputs that are discontinuous functions of their inputs using blocks such as the Saturation block.|
|Discrete||Represent discrete time functions using blocks such as the Unit Delay block.|
|Logic and Bit Operations||Perform logic or bit operations using blocks such as the Logical Operator and Relational Operator blocks.|
|Lookup Tables||Use lookup tables to determine their outputs from their inputs using blocks such as the Cosine and Sine blocks.|
|Math Operations||Perform mathematical and logical functions using blocks such as the Gain, Product, and Sum blocks.|
|Model Verification||Create self-validating models using blocks such as the Check Input Resolution block.|
|Model-Wide Utilities||Provide information about the model using blocks such as the Model Info block.|
|Ports & Subsystems||Create subsystems using blocks such as the In1, Out1, and Subsystem blocks.|
|Signal Attributes||Modify the attributes of signals using blocks such as the Data Type Conversion block.|
|Signal Routing||Route signals from one point in a block diagram to another using blocks such as the Mux and Switch blocks.|
|Sinks||Display or export output using blocks such as the Out1 and Scope blocks.|
|Sources||Generate or import system inputs using blocks such as the Constant, In1, and Sine Wave blocks.|
|User-Defined Functions||Define custom functions using blocks such as the MATLAB Function block.|
|Additional Math & Discrete||Additional libraries for mathematical and discrete function blocks.|
The Simulink Editor contains a block diagram of your model. You build models by dragging blocks from the Simulink Library Browser window to the Simulink Editor model window. In the model window, you build a block diagram by arranging the blocks logically, connecting the blocks with signal lines, and setting the parameters for each block.
You also use the Simulink Editor to:
Set configuration parameters for the model, including the start and stop time, type of solver to use, and data import/export settings.
Start and stop a simulation of the model.
Save the model.
Print the block diagram.