Professional Documents
Culture Documents
Matlab:: Simulink Library Browser
Matlab:: Simulink Library Browser
BPE
11-EE-57
Lab #01
Matlab:
MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++,Java, and Fortran.
Simulink:
Simulink is a block diagram environment for multi domain simulation and Model-Based Design. It supports simulation, automatic code generation, and continuous test and verification of embedded systems. We can use the Simulink product family for: Model-Based Design Control Systems Digital Signal Processing Communications Systems Image and Video Processing Embedded Systems Mechatronics
M-file:
An m-file, or script file, is a simple text file where you can place MATLAB commands. When the file is run, MATLAB reads the commands and executes them exactly as it would if you had typed each command sequentially at the MATLAB prompt. All m-file names must end with the extension '.m' (e.g. test.m).
Asad Nawaz
BPE
11-EE-57
Each icon in the main Simulink window can be double clicked to bring up the corresponding block library. Blocks in each library can then be dragged into a model window to build a model.
Asad Nawaz
BPE
11-EE-57
Logic and Bit Operations Logic and Bit Operations Blocks are used to perform logic and bit operations.
Math Operations Math Operations Blocks are used to Perform math operations.
Sources
Source Blocks are used to generate signals.
Others Libraries:
There are some other libraries in simulink such as Lookup Tables,Model Verification, Model wide utilities,Ports and Subsystems, Signal Attributes, Signal Routing and User Defined Functions etc.
Asad Nawaz
BPE
11-EE-57
Multisim:
Multisim:
Multisim is the schematic capture and simulation application of National Instruments Circuit Design Suite, a suite of EDA (Electronics Design Automation) tools that assists you in carrying out the major steps in the circuit design flow. Multisim is designed for schematic entry, simulation, and feeding to downstage steps, such as PCB layout.
Asad Nawaz
BPE
11-EE-57
The toolbars listed below are available in Multisim as shown in above figure: Standard Toolbar Main Toolbar Simulation Toolbar View Toolbar Components Toolbar Virtual Toolbar Graphic Annotation Toolbar Instruments Toolbar.
Schematic capture:
Schematic capture is the first stage in developing your circuit. In this stage you choose the components you want to use, place them on the circuit window in the desired position and orientation, wire them together, and otherwise prepare your design.
Simulation in MULTISIM:
Simulation is a mathematical way of emulating the behavior of a circuit. With simulation, you can determine much of a circuits performance without physically constructing the circuit or using actual test instruments. Although Multisim makes simulation intuitively easy-to-use, the technology underlying the speed and accuracy of the simulation, as well as its ease-of-use, is complex.
Major Devices:
Multisim contains some major instrumental devices such as multimeter, current probe, oscilloscope, frequency generator, wattmeter, word generator and etc.
Asad Nawaz
BPE
11-EE-57
Multimeter
Function Generator
Logic converter Logic Analyzer Tektronix Oscilloscope Agilent Multimeter Current Probe