Hi, I have to do my first GUI to control a micro controller (freescale kl25z). I red the document to create a GUI by using the GUIDE, but I don't know how to send data from/to micro controller to matlab and vice versa. Where I have to write the function, if on MatLab or on the micro controller ( if I want to toggle a led for example, the code to toggle must be on matlab or on the micro controller code?), have you some easy example on gui for kl25z board? I don't know how to start. Thank you very much.