how to capture coloured image of simulink model

2 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by