Real time plot in F28335 with ADC

3 views (last 30 days)
Manideep
Manideep on 9 Sep 2013
Commented: henda bouyahi on 21 Feb 2021
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
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
Manideep
Manideep on 24 Sep 2013
I'm running the program in simulink
Walter Roberson
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.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!