How to get X and Y values from a Scope Graph
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone! I'm trying to obtain values of a scope plot to obtain two columns of X and the corrispondent Y value to plot a graph on Excel. Does anyone know how to do it?
Thank you in advance! I need it for my thesis
0 comentarios
Respuesta aceptada
Fangjun Jiang
el 1 de Dic. de 2011
Click the second buttons on the "Scope" block to access the scope parameters. Click the "Data history" tab, check "Save data to workspace". Assume you use the default name "ScopeData", choose "Structure with time" for the format.
Once your simulation is done, go to MATLAB Command Window,
ScopeData.time will be the time vector and ScopeData.signals.values will be the signal values.
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!