필터 지우기
필터 지우기

Conversion problem from scalar to Vector in Simulink.

조회 수: 2 (최근 30일)
Shivam Bajpai
Shivam Bajpai 2022년 7월 14일
Hello, everyone,
I am working on a specific controller design by using the MATLAB Function block inside the subsytem.
But I am getting the ffollowing error:
Inferred size ('[1 9]') for data 'z_dot_1' does not match back propagated size ('scalar') from Simulink.
Component:MATLAB Function | Category:Coder error
Simulink cannot determine sizes and/or types of the outputs for block 'LBS/Subsystem/MATLAB Function' 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 cannot determine sizes and/or types of the outputs for block 'LBS/Subsystem/MATLAB Function' 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
An error occurred while propagating data type 'double' through 'LBS/Subsystem/MATLAB Function'.
Kindly help me to fix the following errors as soon as possible please.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by