필터 지우기
필터 지우기

Error in the output of the stateflow

조회 수: 27 (최근 30일)
Tania Izquierdo
Tania Izquierdo 2016년 12월 3일
답변: Prabhakaran thirugnanam 2018년 10월 10일
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
Gautam
Gautam 2017년 1월 5일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by