When I upload my video  HDL Simulink video source, there are 2 errors.

3 次查看(过去 30 天)
matrix input does not have the expected size. The error occurred for MATLAB System block 'untitled/Frame To Pixels/hf2p'. See line 92, column 1 in file 'C:\Program Files\MATLAB\R2022a\toolbox\eml\lib\matlab\lang\validateattributes.m'.
Component:Simulink | Category:Model error
Error in port widths or dimensions. 'Output Port 1' of 'untitled/Frame To Pixels/frame' is a [1920x1080] matrix.
  1 个评论
Bharath Venkataraman
编辑:Bharath Venkataraman 2022-9-29
Could you provide a snapshot of the model and the settings you have for the Frame To Pixels block?
From what I can see, the settings for Frame To Pixels and the input you are providing seem incompatible.
The input to the Frame To Pixels block should be a matrix of size 1080x1920 for a 1080p video.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by