32. 1. What is Simulink and which company developed it?
2. Explain the main purpose of using Simulink in system modeling.
3. How does Simulink integrate with MATLAB?
4. List four key features supported by Simulink.
5. What is the role of block libraries in Simulink?
6. What is the purpose of the Math Operations library in Simulink?
7. Name three blocks found under the Sinks category and describe their functions
briefly.
8. How can you search for a specific block in Simulink if you don’t know which library it
belongs to?
9. Describe two different methods to add a block to your Simulink model from the
library.
10. What is the function of the Sine Wave block, and in which library can it be found?
33. 1. What is Simulink and which company developed it?
➤ Simulink is a graphical programming environment for modeling, simulating, and analyzing dynamic systems.
➤ It was developed by MathWorks, the same company that created MATLAB.
2. Explain the main purpose of using Simulink in system modeling.
➤ Simulink is primarily used for modeling and simulating dynamic systems such as control systems, signal processing,
communications, and more.
➤ It allows users to build models using block diagrams and simulate system behavior over time.
3. How does Simulink integrate with MATLAB?
➤ Simulink is tightly integrated with MATLAB.MATLAB can be used to define variables and parameters.Simulink models can
call MATLAB functions.Simulation results can be processed or visualized using MATLAB scripts.
4. List four key features supported by Simulink.
➤ Graphical interface for building models using drag-and-drop blocks.Simulation of time-based systems (continuous or
discrete).Code generation for embedded systems.Integration with MATLAB for scripting and data analysis
5. What is the role of block libraries in Simulink?
➤ Block libraries provide predefined functional blocks (e.g., sources, sinks, math operations, etc.) that can be used to
construct models.
➤ They organize components into categories for easier access
6. What is the purpose of the Math Operations library in Simulink?
➤ It contains blocks used for performing mathematical operations like addition, multiplication, gain, trigonometric
functions, and more.
34. 7. Name three blocks found under the Sinks category and describe their functions briefly.
• Scope – Displays signals in a time-based graph.
• Display – Shows the current value of a signal
• .To Workspace – Sends simulation data to the MATLAB workspace for further analysis
8. How can you search for a specific block in Simulink if you don’t know which library it
belongs to?
➤ Use the Search bar in the Simulink Library Browser to type the block name or a related
keyword.
➤ Quick Insert (Ctrl+Space) can also help to search and insert blocks directly.
9. Describe two different methods to add a block to your Simulink model from the library.
➤ Drag and drop the block from the Library Browser into the model workspace.Use Quick
Insert by pressing Ctrl+Space, typing the block name, and hitting Enter.
10. What is the function of the Sine Wave block, and in which library can it be found?
➤ The Sine Wave block generates a continuous sine wave signal.
➤ It is found in the Sources library in Simulink.
35. 11.How can you configure the number of input ports for the Scope
block?
12.What parameters can you modify in the Sine Wave block, and how
do these parameters affect the output?
13.Describe the steps to connect multiple sine wave blocks to a single
scope block in Simulink.
14.How do you run a simulation in Simulink and view the result in the
display block?
36. 11. How can you configure the number of input ports for the Scope block
• To configure the number of input ports, double-click the Scope block to open its parameter
window.In the “Main” tab, locate the field labeled "Number of input ports".Enter the desired
number (e.g., 4) and click Apply or OK.
12. What parameters can you modify in the Sine Wave block, and how do these parameters affect the
output?
You can modify the following parameters:Amplitude: Controls the height of the sine wave.Bias: Shifts
the waveform up or down on the Y-axis.Frequency (rad/sec): Determines how fast the wave
oscillates.Phase (rad): Shifts the wave left or right along the time axis. Each parameter changes the
shape, position, or speed of the sine wave
13. Describe the steps to connect multiple sine wave blocks to a single scope block in Simulink.
Drag and drop multiple Sine Wave blocks into the model.Drag a Scope block into the model.Set the
Scope's input ports to match the number of sine waves.Connect the output of each sine wave to a
different input port of the Scope block using lines/arrows.The Scope will now receive and display all
sine waves together.
14. How do you run a simulation in Simulink and view the result in the display block?
Click the Run button (green triangle) in the toolbar.Simulink will simulate the model for the defined
time (e.g., 10 seconds).The result appears in the Display block (for values) or Scope block (for
signals/graphs), depending on the model design.
37. Practical Questions
Q1:
• Open Simulink and create a new model with four Sine Wave blocks.
• Add a Scope block to your model, then configure it to have 4 input ports.
• Connect each Sine Wave block to one of the input ports of the Scope.
• Set the frequency (rad/sec) of each Sine Wave block as follows:
• First wave: 1
• Second wave: 3
• Third wave: 6
• Fourth wave: 10
• Run the simulation and open the Scope to observe the four sine waves
with different frequencies. Take a screenshot of the output.
38. Q2:
• Create a Simulink model that adds two constant values and displays
the result.
• Task:
• Use two Constant blocks with values 10 and 20.
• Connect them to an Add block.
• Connect the output of the Add block to a Display block.
• Run the simulation and confirm that the output in the display block is
30.
Practical Questions
39. Q3:
• Create a Simulink model that performs four mathematical operations on two constants and displays the
results.
• Task:
• Use two Constant blocks with values: 10 and 20.
• Connect them to four Math blocks (Add, Subtract, Product, Divide) from the Math Operations library:
• Add → for addition (10 + 20)
• Subtract → for subtraction (10 − 20)
• Product → for multiplication (10 × 20)
• Divide → for division (10 ÷ 20)
• Use four Display blocks to show the result of each operation.
• Run the simulation and verify the following results:
• Addition: 30
• Subtraction: -10
• Multiplication: 200
• Division: 0.5
Practical Questions