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?

 채택된 답변

Aniketh
Aniketh 2023년 6월 18일

0 개 추천

You could do this manually by either,
  1. Open the Scope Block
  2. Click on File
  3. Select Copy to CLipboard (ctrl + C)
  4. in paint past your image
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

댓글 수: 1

Atefeh
Atefeh 2023년 6월 19일
Thanks a bunch Aniketh , but I didn't completely catch you.
Consuming I have a 2 input scope (one for voltage and the other for current), all in all I have 6 scopes and 12 waveform
How can I call the special scope ?

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Raspberry Pi Blockset에 대해 자세히 알아보기

태그

질문:

2023년 6월 18일

댓글:

2023년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by