Lab Report: Simulink
Lab Report: Simulink
OBJECTIVE
To plot a process in Simulink command using Gain, Transfer function and Scope.
Simulink
Simulink is a block diagram environment for multidomain simulation and Model-Based Design. It
supports simulation, automatic code generation, and continuous test and verification of embedded
systems.
Simulink provides a graphical editor, customizable block libraries, and solvers for modeling and
simulating dynamic systems. It is integrated with MATLAB, enabling you to incorporate MATLAB
algorithms into models and export simulation results to MATLAB for further analysis.
Blocks
Fcn
Function Caller
MATLAB Function
MATLAB System
S-Function
S-Function Builder
Simulink Function
PROCEDURE
123456-
First of all open matlab and write Simulink: in the command window.
Now open a new window for the process.
Go to the Simulink window and search Step and then add this into window.
Double click on step and select the input limits.
Now search for Transfer Fcn and add it into the window.
Double click on the box and assign corresponding values to numerator and
denominator.
7- Now add scope.
8- Add a Gain box and set its value as 0.33.
9- In Simulink window search Sin wave and add it into the window.
10-Now add another Transfer function for controller on the second input.
11-Now join them all according to following order.
14-This