Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

MATLAB에서의 실행

독립 실행형 Stateflow® 차트를 MATLAB®의 객체로 실행

상태 차트를 사용하여 로직을 설계하고 해당 로직을 MATLAB 프로그램으로 실행합니다. Stateflow 편집기에서 차트를 실행하고 단위 테스트를 수행합니다. 차트를 통해 사용자 인터페이스의 동작 및 데이터 처리 응용 사례를 제어합니다.

함수

모두 확장

Stateflow.exportAsClassExport MATLAB class for standalone chart
Stateflow.exportToVersionExport standalone chart for use in previous version of Stateflow

Stateflow 구문

모두 확장

변경 감지

hasChangedDetect change in data since last time step
hasChangedFromDetect change in data from specified value
hasChangedToDetect change in data to specified value

시간 논리

after이벤트 브로드캐스트 또는 지정된 시간 후에 차트 실행
at이벤트 브로드캐스트 또는 지정된 시간에 차트 실행
countNumber of chart executions during which condition is valid
elapsed상태가 활성화된 이후의 시간
everyExecute chart at regular intervals
temporalCountNumber of events, chart executions, or time since state became active

도움말 항목

문제 해결

Debug a Standalone Stateflow Chart

Interrupt execution to step through each action in a Stateflow chart.