how to capture coloured image of simulink model

2 vues (au cours des 30 derniers jours)
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

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Code Generation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by