Main Content

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

샘플 시간

블록 실행 레이트 제어, 이산, 연속 또는 하이브리드 샘플 시간 할당

함수

Simulink.BlockDiagram.getSampleTimesReturn all sample times associated with model
Simulink.Block.getSampleTimesReturn sample time information for a block

클래스

Simulink.SampleTimeObject containing sample time information
Simulink.BlockPortDataDescribe block input or output port

예제 및 방법

Specify Sample Time

Methods for programmatically and interactively specifying and accessing sample time information.

View Sample Time Information

How to access sample time information interactively.

Resolve Rate Transitions

How Simulink® resolves rate transitions between blocks caused by different block sample times.

개념

What Is Sample Time?

The sample time of a block indicates when the block generates outputs or updates its internal state.

Types of Sample Time

Understand how Simulink represents and categorizes sample times.

Blocks for Which Sample Time Is Not Recommended

Best practices for modeling sample times.

Sample Times in Subsystems

How Simulink calculates the sample times of virtual and enabled subsystems.

Sample Times in Systems

How Simulink calculates the sample times of discrete and hybrid systems.

Block Compiled Sample Time

How to access the sample rate of a block during simulation.

How Propagation Affects Inherited Sample Times

How blocks inherit sample times.

Backpropagation in Sample Times

How backward propagation of sample time works.

Specify Execution Domain

Enforce discrete dynamics for a model or subsystem