An Introduction to Using Simulink



Yüklə 291,42 Kb.
Pdf görüntüsü
səhifə4/27
tarix19.10.2023
ölçüsü291,42 Kb.
#157119
1   2   3   4   5   6   7   8   9   ...   27
simulink introduction

Library Browser
 
Shows all blocks available in Simulink, sorted by folders such as ‘Math
Operations’ or ‘Signal Routing’. There is a search bar on the top left. Drag 
blocks from the library straight onto your model canvas. 

Quick Search
 
Directly search for blocks by single clicking on the background of your 
model and typing in a search term. Select a block from the search results to 
quickly add it to your model.
Automatic Block Input Box
When adding a block to a model for the first time, the most common 
parameter will often pop up automatically for a value to be specified.
e.g. If you add a Gain Block it will ask you to specify the gain value.
Interacting with this can save time opening the Block Parameters menu 
Positioning Blocks 

Blocks can be moved by simply clicking and dragging. 

Connect blocks by clicking output of one block and dragging it to an input of another block.

Once a signal connects two blocks, it can be clicked and dragged to be repositioned. 

To create a branch from an existing signal, hold ctrl while clicking and dragging. 

Blocks can be rotated/flipped for better positioning: Right click block, select “Rotate & Flip”. 
 
Overview of Libraries 
Library Name 
Type of Blocks 
Examples of Blocks 
Sources 
Provide inputs to your model 
Constant, Sine Wave, Step 
Sinks 
Provide ways to view or export data 
Scope, XY Graph, To Workspace 
Math 
Operations 
Common mathematical functions to 
apply to data. 
Add, Divide, Abs 
Ports & 
Subsystems 
Create different subsystems 
(resettable, triggered etc) 
Subsystem, Enable port, Inputs 
and Outputs: In1 and Out1 
User Defined 
Functions 
Implement custom functions
Fcn, MATLAB Fcn 
Lookup Tables 
Use functions defined as discrete data 1-D Lookup Table 
Signal Routing 
Organise signals from blocks
Mux, BusCreator, Goto, Switch 
Continuous 
Systems with continuous states
Integrator, Derivative 
Discrete 
Systems with discrete states 
Unit Delay, Discrete Derivative 
Logical and Bit 
Operations 
Boolean operators for comparisons 
Compare To Zero, Logical 
Operator 




Yüklə 291,42 Kb.

Dostları ilə paylaş:
1   2   3   4   5   6   7   8   9   ...   27




Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©www.azkurs.org 2024
rəhbərliyinə müraciət

gir | qeydiyyatdan keç
    Ana səhifə


yükləyin