snapshot of signal automatically??

1 次查看(过去 30 天)
Hi everybody...
I work at my final project...and I need to snapshot of my signal from serial port, but I need that automatically by codes not manually...
I can do that in Matlab, if yes, how to do that?
Help me please...
  2 个评论
Walter Roberson
Walter Roberson 2012-11-10
What do you mean by "snapshot" in this context?
Tariq Nazzal
Tariq Nazzal 2012-11-10
after I drawing the signal, I need to save this signal, but I need save it as image, snapshot is take a picture for the signal, that is I mean

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2012-11-10
getframe()
  3 个评论
Walter Roberson
Walter Roberson 2012-11-10
F = getframe(h) gets a frame from the figure or axes identified by handle h.
getframe returns a movie frame, which is a structure having two fields: [...]
In other words the captured data is returned as an array, and you capture an axes (which would contain a plot). No figure name or signal name involved.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by