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.

Réponses (1)

Muthukumar Ganesan
Muthukumar Ganesan le 28 Juil 2022

0 votes

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

Catégories

En savoir plus sur Stateflow dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by