how to capture coloured image of simulink model

조회 수: 2 (최근 30일)
Hello all,
i am having two questions.
  1. i used print to capture the image of a simulink model,the result image is in black and white.i need it as it is in the model.is it possible?
  2. is there any possiblity to capture the subchart as image using sfprint
thanks

채택된 답변

Ajay krishna Vasanthakumar
Ajay krishna Vasanthakumar 2020년 9월 10일
  1. statefloe chart color will not be captured.
  2. sprintf(objName,'jpg') will do the trick
hope this will be helpful for someone

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by