I am getting the following error when connecting PI contoller output to one of LSTM network input.
Layer "sequenceinput": Invalid input data. Invalid size of channel dimension. Layer expects input with channel dimension size 6 but received input with size 1.
Function 'Condenser/MLFB' (#860.166.482), line 5, column 19:
"deep.blocks.internal.sequenceNetworkPredict({in_1}, {size(in_1)}, {class(in_1)},"
Launch diagnostic report.
Component:MATLAB Function | Category:Coder error
Errors occurred during parsing of 'compressor_out_pressure/Condenser/MLFB'.
Component:MATLAB Function | Category:Coder error
Simulink unable to determine sizes and/or types of the outputs for block 'compressor_out_pressure/Condenser/MLFB' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
Component:MATLAB Function | Category:Coder error
Simulink unable to determine sizes and/or types of the outputs for block 'compressor_out_pressure/Condenser/MLFB' due to errors in the block body, or limitations of the underlying analysis. The errors might be inaccurate. Fix the indicated errors, or explicitly specify sizes and/or types for all block outputs.
Component:Simulink | Category:Model error
Error in port widths or dimensions. 'Output Port 1' of 'compressor_out_pressure/Condenser/MLFB/in_1' has 6 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Component:Simulink | Category:Model error

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSignal Processing Toolbox についてさらに検索

質問済み:

2026 年 7 月 22 日 4:08

Community Treasure Hunt

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

Start Hunting!

Translated by