Main Content

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

모델 구성요소 스케줄링하기

함수 내보내기, 레이트 기반 모델 및 분할을 만들어 코드 생성을 위한 모델 스케줄링

외부 스케줄러를 사용하여 모델 구성요소의 시뮬레이션 또는 연동을 스케줄링하려면 알고리즘이 Atomic Subsystem 블록 또는 Model 블록에 있어야 합니다. 실행 레이트는 주기(스케줄링된 서브시스템) 또는 비주기(함수 호출 서브시스템)로 지정됩니다.

분할은 아토믹 태스크로 독립적으로 실행되는 모델 구성요소입니다. 멀티태스킹 모델에서는 모델 구성요소에서 분할이 생성됩니다. 분할을 사용하면 모델의 일부를 분리할 수 있으며, 이렇게 분리한 부분은 스케줄 편집기 툴에서 명시적으로 제어할 수 있습니다.

스케줄 편집기는 일종의 스케줄링 툴로서, 분할이라고 불리는 모델 구성요소, 분할 간 데이터 연결 및 이러한 분할의 순서를 나타냅니다. 스케줄 편집기는 Atomic Subsystem, 함수 내보내기 및 모델 블록과 같은 기존의 구성요소에만 사용할 수 있습니다. 스케줄 편집기는 모델 구성요소의 스케줄을 손쉽게 확인하고 편집할 수 있는 대화형 방식의 툴입니다.

블록

모두 확장

Function-Call Subsystem외부 함수 호출 입력으로 실행이 제어되는 서브시스템
Function-Call GeneratorProvide function-call events to control execution of subsystem or model
Function-Call SplitProvide junction for splitting function-call line
Function-Call Feedback LatchBreak feedback loop involving data signals between function-call blocks
TriggerAdd trigger or function port to subsystem or model
SubsystemGroup blocks to create model hierarchy
InportCreate input port for subsystem or external input

스케줄 편집기View and edit the schedule of model components (partitions)

객체

simulink.schedule.OrderedSchedule모델 분할부의 우선 순위를 포함하는 OrderedSchedule 객체 생성 (R2020a 이후)
simulink.event.InputWriteTrigger event when input port value updates (R2022b 이후)
simulink.event.InputWriteTimeoutTrigger event when input port value does not update within specified time (R2022b 이후)
simulink.event.InputWriteLostTrigger event when input port value update overwrites unprocessed data (R2022b 이후)

함수

Simulink.BlockDiagram.getExecutionOrderOpen Execution Order pane (R2022b 이후)
simulink.schedule.createScheduleCreate a new schedule using provided schedule and ordering (R2020a 이후)

도움말 항목

함수 내보내기 모델

레이트 기반 모델

실행 순서

분할과 스케줄 편집기