How to display heatmap in Simulink

4 views (last 30 days)
I am about to use the Matlab function 'heatmap' to display data in Simulink simulation. I am using Matlab function to that ...
but it is not displaying it.
This the code of my Matlab function.
How to display the heatmap in Simulink correctly?

Accepted Answer

M.B
M.B on 8 Nov 2022
Not sure you can use heatmap in simulink ...
You can try building the appropriate signal/matrix and feed it to the Video Viewer block. You will need Computer Vision toolbox.
  2 Comments
Jack Daniels
Jack Daniels on 8 Nov 2022
How to build it? Any simple example?
Jack Daniels
Jack Daniels on 8 Nov 2022
My matrix doesn’t have RGB channels, it’s just 2D matrix - more similar to grayscale image, can be displayed with video-viewer?

Sign in to comment.

More Answers (1)

Jack Daniels
Jack Daniels on 8 Nov 2022
Somehow I got working .. :)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!