create an image on Simulink from a matrix

1 view (last 30 days)
abou bouh
abou bouh on 26 Mar 2022
Answered: Murali Sriram on 8 Jun 2022
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
Murali Sriram on 8 Jun 2022
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.

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!