Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simulink ® From Simulink® 7 Getting Started Guide.

Similar presentations


Presentation on theme: "Simulink ® From Simulink® 7 Getting Started Guide."— Presentation transcript:

1 Simulink ® From Simulink® 7 Getting Started Guide

2 Overview Simulink® software models, simulates, and analyzes dynamic systems. It enables you to pose a question about a system, model the system, and see what happens. With Simulink, you can easily build models from scratch, or modify existing models to meet your needs.

3 Overview Simulink® supports: linear and nonlinear systems modeled in continuous time, sampled time, or a hybrid of the two Systems can also be multirate—having different parts that are sampled or updated at different rates.

4 Overview Thousands of scientists and engineers around the world use Simulink® to model and solve real problems in a variety of industries, including: Aerospace and Defense Automotive Communications Electronics and Signal Processing Medical Instrumentation

5 Simulink® Software Basics Starting Simulink® Software Enter: simulink in the MATLAB Command Window The Simulink® Library Browser opens. Select the model (.mdl file) you want to open, then click Open. Or create a new model.

6 Simulink® Software Basics

7 The model window contains the block diagram of the model. You build models in the model window by arranging blocks logically, setting the parameters for each block, and then connecting the blocks with signal lines.

8 Creating a Simulink® Model how to create a simple model using Simulink® software, and how to simulate that model. The basic techniques you use to create and simulate this simple model are the same as those for more complex models. The model we want to create integrates a sine wave and displays the result along with the original wave.

9 Creating a Simulink® Model To create our simple model, we need four blocks: Sine Wave — To generate an input signal for the model Integrator — To process the input signal Scope — To visualize the signals in the model Mux — To multiplex the input signal and processed signal into a single scope

10 Creating a Simulink® Model To add the blocks, click the block and drag it to the new model window

11 Creating a Simulink® Model To add the blocks, click the block and drag it to the new model window After you add blocks to the model window, you must connect them to represent the signal connections within the model.

12 Creating a Simulink® Model After you complete the model block diagram, you can simulate the system and visualize the results. Before simulating a model, you can set simulation options such as the start and stop time, and the type of solver. You specify these options using the Configuration Parameters dialog box.

13 Creating a Simulink® Model

14 Running the Simulation and Observing Results Select Simulation > Start in the model window Double-click the Scope block in the model window.

15 Creating a Simulink® Model

16 Homework Create your own SIMPLE model and simulate it. Due on Sunday 25/3/1430 22/3/2009


Download ppt "Simulink ® From Simulink® 7 Getting Started Guide."

Similar presentations


Ads by Google