Conversion problem from scalar to Vector in Simulink.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!