Images of Simulink blocks
1 view (last 30 days)
Show older comments
Hello,
is it possible to get the image of a specific Simulink block? For example, I can print the whole model, but I would like to print only a specific block.
0 Comments
Answers (1)
Azzi Abdelmalek
on 14 Feb 2013
Edited: Azzi Abdelmalek
on 14 Feb 2013
Click on Edit-copy model to clipboard
Open paint for example then click on past
3 Comments
Azzi Abdelmalek
on 14 Feb 2013
Edited: Azzi Abdelmalek
on 14 Feb 2013
% Suppose model is your model name
model
print('-smodel','-dbitmap','new_name')
im = imread('new_name.bmp')
% You can then save it as a jpg file
imwrite(im,'filename.jpg')
See Also
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!