0% found this document useful (0 votes)
58 views

Activity No. 6: (Sources and Sinks in Simulink)

Simulink is a visual interface for modeling and simulating systems using block diagrams rather than text-based coding. It allows defining models graphically by connecting blocks that represent mathematical functions. Signals pass values between blocks. The document discusses sources and sinks in Simulink models, showing a model with a sine wave source block connected to a scope sink and to workspace sink. The scope displays the output signal graphically, while the to workspace block exports data to MATLAB for further analysis. Simulink is useful for modeling processes over time, while MATLAB excels at data analysis and figure generation. Data exported to the workspace from a Simulink model includes a time vector and the simulation output variable.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

Activity No. 6: (Sources and Sinks in Simulink)

Simulink is a visual interface for modeling and simulating systems using block diagrams rather than text-based coding. It allows defining models graphically by connecting blocks that represent mathematical functions. Signals pass values between blocks. The document discusses sources and sinks in Simulink models, showing a model with a sine wave source block connected to a scope sink and to workspace sink. The scope displays the output signal graphically, while the to workspace block exports data to MATLAB for further analysis. Simulink is useful for modeling processes over time, while MATLAB excels at data analysis and figure generation. Data exported to the workspace from a Simulink model includes a time vector and the simulation output variable.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Casilao, Princess Lheakyrie R.

ECE-2102

Activity No. 6
(Sources and Sinks in Simulink)

Introduction

Simulink is a visual interface for programming designed for intuitive simulation systems.
This provides different ways to numerically solve equations using a graphical user interface
instead of using code. Models provide frames, signals, and context annotation. Blocks are
mathematical functions; inputs and outputs can differ. Signals are lines that link blocks and pass
values between them. These are different types of data that can be classified, such as numbers,
vectors or matrices. Text or image annotations can be added to the model and it is easier for
others to understand design decisions in the model while not being used in the calculations.

Figure above displays the Simulink model's origin and sink snip. It shows a Simulink
split screen with the frames on the workspace and the oscilloscope chart on the right. The design
on the left contains the function blocks Sine Wave and Move connected to Scope and To
Workspace connected to Sine Wave. The graph above shows the Sine Wave on the Scope graph
while the Step function graph in the square is shown below.
Second figure shows MATLAB's workspace. While Simulink is useful for modeling and
visualizing processes including feedback loops, MATLAB still best completes detailed data
analysis and good quality figures generation. Within the Configuration Menu Logging tab, data
logging can be allowed from an oscilloscope. In To Workspace frame, if used in the model, two
variables are generated in the MATLAB workspace every time the model is running: tout, which
is a time phase column vector, and export2workspace, which is a simulation data storage
variable. The simulation data can be from time series, array, or structure type. Accessing
MATLAB data depends on the declared type of variable. The time steps vector was defined after
the simulation command was executed.

In this practice, different blocks were added and basic procedure was taught. In the
Simulink interface, different functions could be treated. Simulink is a valuable modeling method
and we look forward to more complex analysis and simulation.

References

Peasley, E. (2018). Retrieved December 2019, from


http://www2.eng.ox.ac.uk/~labejp/Seminar/Simulink/Simulink_Introduction.pdf

Wohlfarth, D.-I. U. (n.d.). Retrieved December 2019, from


https://www.hsaugsburg.de/~wohlfart/download/folien_simulink_grund_e.pdf

You might also like