이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
데이터 전송
데이터 전송은 호출 가능한 함수를 나타내는 블록들 사이에서 이루어지며 신호 선을 통해 데이터가 교환됩니다. 서로 다른 샘플 시간을 사용하도록 구성된 참여 블록 간에 발생하는 속도 전환을 포함하여 이러한 데이터 교환을 모델링할 때 고려해야 할 사항에 대해 알아봅니다. 멀티레이트 모델의 경우 생성된 코드에서 Rate Transition 블록을 삽입하고 구성하여 데이터 전송 동작을 제어합니다. 모델 내에서 감지되는 데이터 전송 문제에 대한 진단을 활성화합니다.
블록
IC | 신호 초기값 설정 |
Initialize Function | 모델 초기화 이벤트에서 서브시스템 실행 |
Rate Transition | 서로 다른 레이트에서 동작하는 블록 간 데이터 전송 처리 |
모델 설정
타깃에서 태스크를 동시에 실행하도록 허용 | Option to enable concurrent tasking behavior for model |
데이터 전송을 위한 레이트 변경 자동 처리 | Option to ensure integrity of data transfer between different sample times in deployed code |
결정적 데이터 전송 | Deterministic data transfer behavior for automatically inserted Rate Transition blocks |
더 높은 우선 순위 값은 더 높은 태스크 우선 순위를 나타냄 | Priority ordering for real-time system targets |
멀티태스크 데이터 전송 | |
주기적인 샘플 시간 제약 조건 | Option to specify constraints on model sample times |
Rate Transition 블록 코드 | Format for rate transition block code and data |
싱글태스크 데이터 전송 | |
동일한 우선 순위를 갖는 태스크 |
도움말 항목
- Data Transfer Representation and Processing
Learn about data transfer basics.
- Rate Transitions
Learn about rate transition basics and using the Rate Transition block to handle rate transitions.
- Control Data Transfer Behavior in Generated Code
Set up data transfer behavior for multirate models by inserting and configuring Rate Transition blocks.
- Control Format and Placement of Rate Transition Block Code and Data (Embedded Coder)
Use model configuration parameter to specify the format and placement for code and data generated for Rate Transition blocks.
- Visualize Automatically Inserted Rate Transition Blocks
Options for visualizing hidden Rate Transition blocks that Simulink automatically inserts in the model.
- Detect Data Transfer Issues in a Model
Enable diagnostics for troubleshooting data transfer issues.