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!

Antworten (1)

Murali Sriram
Murali Sriram am 8 Jun. 2022

0 Stimmen

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.

Produkte

Version

R2021a

Gefragt:

am 26 Mär. 2022

Beantwortet:

am 8 Jun. 2022

Community Treasure Hunt

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

Start Hunting!

Translated by