I want to include a picture of my Simulink diagram when I publish my script. I currently print it to an image and manually add it in later.

I read on the [Matlab website](http://www.mathworks.com/help/matlab/matlab_prog/marking-up-matlab-comments-for-publishing.html#btj5juu-1) that I could do this by including a comment `<<FILENAME.jpg>>` and the publishing tool would pick it up and add it to my report. Unfortunately all this does is add a link to the image, which is not helpful when printing it out.

This is what I have:

```
print(['-s',simName], '-djpeg', ['html/',simName,'.jpg'])
% <<simName.jpg>>

```

I've also tried [these tips](http://www.mathworks.com/matlabcentral/newsreader/view_thread/294185) before, but they didn't work for me either.