- Open the Scope Block
- Click on File
- Select Copy to CLipboard (ctrl + C)
- in paint past your image
How to convert Simulink scope to JPEG?
조회 수: 37 (최근 30일)
이전 댓글 표시
Hi and have a good day
I have a simulink model of a medium voltage distribution network and I have some voltage and current scopes in my model.
I want to transform the scope waveform to jpeg or pgn to use it in an Image processing interface.
How can I transform them to Jpeg?
Would you mind helping me in this regard?
댓글 수: 0
채택된 답변
Aniketh
2023년 6월 18일
You could do this manually by either,
Or, run this command
ModelName % to open the model
print('-sModelName','-djpeg','model.jpeg')
or
print('-sModelName', '-dpng', 'model.png', 'r0') % Screen resolution, same as without parameter
or
print('-sModelName', '-dpng', 'model.png', 'r300') % Resolution of 300 dots per inch
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 View Data During Simulation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!