Professional Documents
Culture Documents
Lab # 01:
Figure No.1
After a short delay Simulink is opened.
Page |1
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.2
Click the Blank Model template, and then click the Create Model button.
The Simulink Editor opens with a new block diagram.
Figure No.3
Figure No.4
Build models by dragging blocks from the Simulink Library Browser window to the Simulink
Editor or single-clicking your model and entering a search term.
Page |2
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.5
Modeling and Simulation:
With Simulink, you can interactively simulate your system and view the results on scopes and
graphical displays. For simulation of continuous, discrete, and mixed-signal systems, you can
choose from a range of fixed-step and variable-step solvers.
Blocks are the main elements you use to build models in Simulink. Use the Library Browser to
browse and search the block libraries. When you find the block you want to use, add it to your
model.
Some of the blocks are
Continuous
Discrete
Logical and Bit operations
Math operations
Sinks
Sources
But we deal with the following blocks
Sinks
Display Show value of input
Scope Display signals generated during simulation
Sources
Step Generate step function
Page |3
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.6
Then we connect the components with each other
In the figure below 1 shows the frequency of the wave
2 block use to play stop forward to backward option
Double click the source the graph will be opened
Display shows the last value where the graph stop or the instantaneous value
By double click the sine wave we enter into sine wave settings from where we can change
the value of Amplitude, frequency, bias, phase and sample time.
Page |4
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.7
Using the procedure make a step signal of time period 20
Figure No.8
Using the procedure make a ramp signal of time period 20
Page |5
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.9
Using the procedure make a pulse signal of time period 20
Figure No.10
By double clicking on scope setting, graph will open by pressing at 2, Configuration Properties
of Scope will open
We can change the layout from there
Page |6
MCT-311L Modeling and Simulation LAB MANUAL
Figure No.12
Task:
Signal generator have four different wave forms like sine square saw tooth and random
These settings open by double clicking the signal generator icon
Figure No.11
Conclusion:
After performing the lab am able to make different signals with required Amplitude, frequency,
bias, phase and sample time. example Sine wave, Ramp, Slope, Pulse.
Page |7