Conversion problem from scalar to Vector in Simulink.

1 回表示 (過去 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 Center および File ExchangeClassical Control Design についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by