I made a simple program using simulink that reads an analog voltage, and turns an LED on or off depending on the value read. I would now like to add the ability to send the read values back to my computer. From what I've understood, the best way to do this is to create a serial host in simulink. I have done this and it seems to work fine with relatively low sampling rates (0.5 s). However, I want to send values at a rate of .01 s. When I do this, all of the values reach the computer and are displayed on the scope, but the simulation takes a long time to catch up.
Is there a way to get a real time visualization of the voltage for rates of around .01 s using simulink? or should I try another approach to creating a serial host?
Thanks in advance!