Main Content

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

복합 신호

버스와 같은 복합 신호를 사용하여 신호를 그룹화하고 모델 복잡성 줄이기

모델의 모양을 단순화하려면 다음 기법을 사용하여 개별 신호를 복합 신호로 결합하십시오.

  • 가상 버스

  • 비가상 버스

  • 다중화 신호

  • 결합된 신호

복합 신호에 대한 자세한 비교를 보려면 Types of Composite Signals 항목을 참조하십시오.

가상 버스는 신호를 복합 신호로 결합하는 데 대한 대부분의 모델링 요구 사항을 충족하고 다양한 유형의 신호를 결합할 수 있는 유연성을 제공합니다.

블록

모두 확장

Bus AssignmentReplace specified bus elements
Bus CreatorCreate bus from input elements
Bus SelectorSelect elements from incoming bus
In Bus Element Select input from external port
Out Bus ElementSpecify output that connects to external port
DemuxExtract and output elements of virtual vector signal
MuxCombine input signals of same data type and complexity into virtual vector
SelectorSelect input elements from vector, matrix, or multidimensional signal
Vector Concatenate, Matrix ConcatenateConcatenate input signals of same data type to create contiguous output signal
Bus to VectorConvert virtual bus to vector
Signal ConversionConvert signal to new type without altering signal values

함수

모두 확장

Simulink.Bus Specify properties of buses
Simulink.BusElement Specify properties of elements of buses
Simulink.Bus.cellToObject버스 정보를 포함하는 셀형 배열을 Simulink.Bus 객체로 변환
Simulink.Bus.createObject블록 또는 MATLAB 구조체로부터 Simulink.Bus 객체 생성
Simulink.Bus.objectToCellUse Simulink.Bus objects to create cell array containing bus information
Simulink.Bus.saveSave Simulink.Bus objects in function
Simulink.Bus.createMATLABStruct버스와 동일한 계층 구조 및 속성을 사용하는 MATLAB 구조체 만들기
Simulink.BlockDiagram.addBusToVectorConvert virtual bus signals into vector signals by adding Bus to Vector blocks

버스 편집기Create, modify, and manage Simulink.Bus objects
모델 탐색기View, modify, and add elements of Simulink models, Stateflow charts, and workspace variables

도움말 항목

복합 신호 기본 사항

Types of Composite Signals

Reduce visual complexity in a model by combining signals into a composite signal.

Bus-Capable Blocks

Identify the blocks that support virtual buses, nonvirtual buses, and arrays of buses.

시각적으로 선 그룹화하기

Group Signal Lines into Virtual Buses

Combine signals into virtual buses, which only affect visual appearance.

Simplify Subsystem and Model Interfaces with Buses

Use In Bus Element and Out Bus Element blocks for bus inputs and outputs.

Display Bus Information

Display information about buses, such as signal hierarchy and whether the bus is virtual or nonvirtual.

Identify Automatic Bus Conversions

Recognize modeling patterns that cause hidden Bus To Vector and Signal Conversion blocks.

버스 수정하기 및 구성하기

Modify Bus Hierarchy

Change the order and hierarchy of nested buses and their elements.

Replace Values of Bus Elements

Use a Bus Assignment block to assign values to elements of a bus.

Specify Initial Conditions for Bus Elements

Specify bus element values as initial conditions for buses.

Share and Reuse Bus-Routing Blocks

Share blocks that create or interact with buses using subsystem references or custom libraries.

Bus 객체 데이터형 정의하기

Specify Bus Properties with Simulink.Bus Object Data Types

Understand Simulink.Bus object uses and implementation.

Create Bus Objects Programmatically

Use functions and classes to define Bus objects and bus elements, create bus objects from blocks, or create Bus objects from MATLAB® data.

Customize Bus Object Import and Export

Customize the Bus Editor import and export commands by writing MATLAB functions that provide the desired capabilities. Register these functions using the Simulink® Customization Manager.

기능적으로 선 그룹화하기

Create Nonvirtual Buses

Create buses that appear in generated code and support modeling constructs such as arrays of buses.

비가상 버스의 샘플 시간 수정하기

비가상 버스에서 신호를 그룹화할 수 있도록 신호의 샘플 시간을 동일하게 만듭니다.

Generate Code for Nonvirtual Buses

Use a structure in code generation to represent a nonvirtual bus. Control data types of initial condition structure fields.

Inspect Generated Code for Nonvirtual Buses

Find nonvirtual buses in generated code for a simple model.

반복 처리 단순화하기

Group Nonvirtual Buses in Arrays of Buses

Streamline a model by combining nonvirtual buses that have the same data type into an array.

Work with Arrays of Buses

Set up your model to use an array of buses to select signals, assign values to a signal, perform iterative processing, log and load signals, and initialize signals.

Convert Models to Use Arrays of Buses

Convert an existing model that does not use arrays of buses to use arrays of buses.

관련 정보

추천 예제