snapshot of signal automatically??

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 commentaires

Walter Roberson
Walter Roberson le 10 Nov 2012
What do you mean by "snapshot" in this context?
Tariq Nazzal
Tariq Nazzal le 10 Nov 2012
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

Connectez-vous pour commenter.

 Réponse acceptée

Walter Roberson
Walter Roberson le 10 Nov 2012

0 votes

getframe()

3 commentaires

Tariq Nazzal
Tariq Nazzal le 10 Nov 2012
Thanks a lot to your answer, I read from help about it, but my new question is where the figure is store? In current folder? And what the name for figure, if I write f= getframe(s), f is name of image? And s is name of my signal?
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.
Tariq Nazzal
Tariq Nazzal le 10 Nov 2012
aha, thanks a lot Walter

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by