Hi!
I have a project to do, namely I need to create an object simulator that I can control with a PID controller. In matlab's GUI I have to have 4 buttons with ready transmissions of objects, e.g. a servo motor. In the menu, I also have to change the PID values and the results are to be displayed on the graph also in this menu. All this is to be programmed on the Arduino and Matlab is used only for menu control and presenting the results on a graph. How can I do it for Arduino to work with simulinek and matlab GUI at the same time? I would very much ask you to guide me on how to do this.