Hi,
I would like to define a system using Matlab and have it controlled by a digital controller. The controller parameters will be calculated preferably by some sort of microcontroller or microprocessor. Does anyone how this can be done using Matlab (some general guidelines) ? Do I have to use an external microcontroller and connect it with my PC or is it possible to have a virtual controller in Matlab?