In this blog post, I wanted to share a couple of videos which I thought were really useful when I had just started learning about programming in Simulink. In the past, I have talked about programming Arduino and Raspberry Pi using MATLAB and Simulink in these tutorials and webinars, and familiarity with MATLAB and Simulink would certainly be helpful if you are trying to implement those projects yourself. If you currently do not have Simulink, and wish to obtain a license, these are the options you have:
a) You can get a 30 day trial for free at this link.
b) If you are a student, you can purchase the student version here.
c) If you are a hobbyist, you get the home use version at this location.
d) If you wish to use MATLAB and Simulink for a commercial application, check this link for licensing options.
The first video is a quick introduction to the Simulink environment. It walks you through how can create basic models in Simulink by connecting different blocks together. This video is especially useful if you have not used Simulink before and are overwhelmed by the entire user interface. The video walks you through the most common steps in creating a Simulink model, and also shows you how you can access various blocks from different Simulink block libraries.
The next video focuses on visualizing signal data in Simulink. Data visualization is quite useful in giving a quick idea about how your simulation or actual program is running. It is also an excellent debugging utility. Simply stated, if your signals do not appear the way you expect them to, then there is something wrong with the model. Adding scopes to visualize signals can quickly help you pinpoint the root cause of the issue. Scopes can also help you understand how your computer interprets sensor data. Check out the video to get a better idea about using scopes in Simulink for data visualization.