Trying to implement the factorial program in stateflow.

5 次查看(过去 30 天)
Error While running the Simulink/Stateflow model model
Error: Size for Local Data 'index' may not be inherited
Error: Size for Local Data 'index' may not be inherited
Images are attached here for the approach that I followed.

回答(1 个)

Muthukumar Ganesan
Muthukumar Ganesan 2022-7-28
Hi,
Please don't set the "size" property for the data "index" as -1. Either keep that field empty or 1.
Thanks.

类别

Help CenterFile Exchange 中查找有关 Stateflow 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by