필터 지우기
필터 지우기

Simulink/Stateflow, and use of isInputDir​ectFeedthr​oughImpl

조회 수: 2 (최근 30일)
Sam Warner
Sam Warner 2022년 1월 19일
편집: Sam Warner 2022년 1월 23일
Does anyone know how to use isInputDirectFeedthroughImpl to report that the inputs are non-direct feedthrough?
I have several state-machines where I am trying not to re-author them. Switching to a Moore state-machine solves the problem. Yet, I just converted from state-based transitions to message-based to aid in mimicking an SoS architecture, where I use the messages to simulate the communication between the nodes of the SoS architecture. These same messages contain relevant information for the state-machine, albeit, following a Moore theme, the outputs are calculated in the State's actions. Yet, because of the use of messages - switching to Moore as the State Machine Type - produces the error for Messages.
I'm exploring if it's possible to set isInputDirectFeedthroughImpl for the State-Flow diagrams, as they are system objects. I could simply report back the inputs are not direct feedthrough.

채택된 답변

Sam Warner
Sam Warner 2022년 1월 23일
편집: Sam Warner 2022년 1월 23일
Btw - not possible -
what is possible is to use "ashow" with sldebug to obeserve if there are any algebraic loops in the implementation that might cause downstream conversion to software issues.
The best solution - convert to Moore.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by