Borrar filtros
Borrar filtros

Save Figure as JPEG or PNG from Vector Scope

7 visualizaciones (últimos 30 días)
Shay
Shay el 3 de Oct. de 2020
Comentada: Shay el 3 de Oct. de 2020
Hello,
Is it possible to save the resultant waveform displayed using the Vector scope block as JPEG or PNG and if so, how (without using snipping tool)? As, this is usually achieveable using the scope block which allows to open property editor, edit graph properties and then save Figure as a variety of options.
  2 comentarios
Ameer Hamza
Ameer Hamza el 3 de Oct. de 2020
Are you using an older version of MATLAB? The block was removed in R2018b: https://www.mathworks.com/matlabcentral/answers/450026-missing-vector-scope-block-in-simulink-matlab-2018b
Shay
Shay el 3 de Oct. de 2020
Yes, I am using an older version of MATLAB. However, I found the solution through the link you had provided. The alternatives to the Vector Scope were the Time Scope, Spectrum Analyzer and Array Plot. I incorporated the Time Scope in place of the Vector Scope and achieved same otuput with the added benefit of editing garph properties and saving figure as desired format.
Thanks.

Iniciar sesión para comentar.

Respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 3 de Oct. de 2020
Use: saveas()
See: https://www.mathworks.com/help/matlab/ref/saveas.html
  1 comentario
Shay
Shay el 3 de Oct. de 2020
Thank you for the answer. I found the solution by using Time Scope block rather than the Vector Scope block to edit the properties of my graph and its axes.

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by