Real time plot in F28335 with ADC
3 views (last 30 days)
Show older comments
Hello,
I am reading current and voltages from sensors and sending it to ADC. Now I want to plot these currents and voltages in MATLAB. Is there anyway to do while the DSP is still running?
Answers (1)
Walter Roberson
on 9 Sep 2013
Are you doing this using the Data Acquisition Toolbox? If so, then yes, it can be done, by using a BytesAvailableFcn callback.
You included "simulink" in your tags; if you want to be doing the above within Simulink without using an S function, then I do not know myself if that is possible.
2 Comments
Walter Roberson
on 24 Sep 2013
I think it is possible. A scope block can update per timestep.
I have not worked with Simulink myself, but I do recall that a number of people have asked about real-time plotting.
See Also
Categories
Find more on C2000 Microcontroller Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!