2. Problem Explanation
We have to solve ordinary differential equation
Example- dx/dt = -19x + 7
or Dx = -19x + 7
Using Simulink in Matlab and Verify the
Simulation Results.
3. Steps to Solve
Step 1: In the MATLAB command window,
at the >> prompt, type simulink
and press Enter
4. Steps to Solve
Step 2: Create a new model
• Click the new-model icon in the upper left
corner to start a new Simulink file
• Select the Simulink icon to obtain elements of
the model
5. Steps to Solve
Step 3: Model Workspace will Open
Step 4: Save Your Model in .mdl format
7. Steps to Solve
Simulation diagram
• Input is (-19x + 7)
• Output is the solution of the differential
equation x(t)
• Now build this model in Simulink
xdtdx /
s
1-19x + 7
(input)
x(t)
(output)
0)0( x
integrator