create an image on Simulink from a matrix
Show older comments
Hello,
I have a function Block in Simulink that outputs a matrix of 1000x1000 elements of different values from 0 to 1 , and I would like to be able to visualise the elements of that matrix as an image.
Kind of like how imshow works in matlab.
Is there a way to do this in simulink?
Thank you!
Answers (1)
Murali Sriram
on 8 Jun 2022
0 votes
The Computer Vision toolbox provides various blocks to cater the needs of image processing.
The video viewer block can display the matrix as an image.
Categories
Find more on Neighborhood and Block Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!