Trying to implement the factorial program in stateflow.

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 日

0 投票

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

カテゴリ

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

タグ

質問済み:

2018 年 5 月 3 日

回答済み:

2022 年 7 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by