create an image on Simulink from a matrix

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!

Respuestas (1)

Murali Sriram
Murali Sriram el 8 de Jun. de 2022

0 votos

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.

Categorías

Productos

Versión

R2021a

Etiquetas

Preguntada:

el 26 de Mzo. de 2022

Respondida:

el 8 de Jun. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by