필터 지우기
필터 지우기

Save Figure as JPEG or PNG from Vector Scope

조회 수: 7 (최근 30일)
Shay
Shay 2020년 10월 3일
댓글: Shay 2020년 10월 3일
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
Ameer Hamza
Ameer Hamza 2020년 10월 3일
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 2020년 10월 3일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020년 10월 3일
Use: saveas()
See: https://www.mathworks.com/help/matlab/ref/saveas.html
  댓글 수: 1
Shay
Shay 2020년 10월 3일
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by