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
2022 年 9 月 29 日
編集済み: 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 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!