Error in the output of the stateflow

11 visualizaciones (últimos 30 días)
Tania Izquierdo
Tania Izquierdo el 3 de Dic. de 2016
Respondida: Prabhakaran thirugnanam el 10 de Oct. de 2018
I got this error for the state flow.
For Stateflow chart locals and outputs, a full assignment is needed even if the type/size/complexity has been fully specified in the Model Explorer. You can leave out a full assignment for structure types as long as the type is fully specified in the Model Explorer as "Bus: typename" and not left inherited or parameterized.
I don't know how to fix it.
  1 comentario
Gautam
Gautam el 5 de En. de 2017
Hi Tania,
There might be multiple reasons why this error could have occurred. You might have used a particular variable in an assignement statement(for ex: a = a+1) without initialising 'a', or you might have defined a variable that is outside the scope of the a particular chart/state. It would help if you could share a simple model where you can observe the error, so that the issue can be debugged further.
Regards,
Gautam

Iniciar sesión para comentar.

Respuestas (1)

Prabhakaran thirugnanam
Prabhakaran thirugnanam el 10 de Oct. de 2018
Hi Tania, You mentioned that you've provided the "type/size/complexity"... Please enter the other fields too. (for ex: Initial Value )

Categorías

Más información sobre Complex Logic en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by