MATLAB Answers

how to capture coloured image of simulink model

3 views (last 30 days)
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

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!