VN27 (Video No:27) In this video, A Matlab gui interface is simply designed. The voltages from 2 pots are monitored and followed by using Matlab timer and timer callback features. Furthermore, the leds and pots connected to Arduino are controlled with a serial interface (RS232).
<<Video>> | Watch |
<<Source Code>> | Download |
Notes;
- While working with Matlab Gui; the variables must be global to call them from function to function, callback to callback (such as global x, global y etc.).
- A callback function can be called in another callback function like below;
read_Callback(handles.read, eventdata, handles); - While designing interfaces in Visual C#, Matlab, etc., timer feature can be used for real time control and monitoring.