Main Content

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

System Object를 사용하여 블록 구현하기

MATLAB System 블록을 사용하여 Simulink®에서 System object™ 사용

MATLAB System 블록은 System object를 사용하여 Simulink에서 MATLAB® 알고리즘을 구현합니다. MATLAB System 블록을 사용하려면 먼저 블록과 연결할 System object가 있어야 합니다. System object는 동적 시스템 구현과 시뮬레이션을 위해 특별히 설계된 특수한 종류의 MATLAB 클래스입니다.

블록

MATLAB SystemInclude System object in model

예제 및 방법

Implement a MATLAB System Block

Implement a block and assign a System object to it.

System Object로 구현된 블록 변경하기

다른 System object를 사용하여 블록을 구현합니다.

Specify Sample Time for MATLAB System Block

The sample time of a block is a parameter that indicates when the block produces an output, and eventually updates its internal state.

Call Simulink Functions from MATLAB System Block

Learn to call a Simulink function from a MATLAB System block.

Change Block Icon and Port Labels

Change the icon appearance of your block.

Add and Implement Propagation Methods

To define output specifications, use propagation methods.

Use System Objects in Feedback Loops

Process nondirect feedthrough data through the System object.

Share Data with Other Blocks

Share data between MATLAB System and other blocks using the global keyword and the Data Store Memory block or Simulink.Signal object.

개념

MATLAB System Block

Implement your own algorithms using System objects.

Mapping System Object Code to MATLAB System Block Dialog Box

The System object source code controls the appearance of the block dialog box.

Simulation Modes

You can use MATLAB System block in Simulink models for simulation via interpreted execution or code generation.

Simulink Engine Interaction with System Object Methods

Follow a process view of the order in which the MATLAB System block invokes System object methods within the context of the Simulink engine.

Nonvirtual Buses and MATLAB System Block

Use nonvirtual buses as input and output signals.

Share Data with Other Blocks

Share data between MATLAB System and other blocks using the global keyword and the Data Store Memory block or Simulink.Signal object.

Considerations for Using System Objects in Simulink

Consider these guidelines when working with variable-size signals, tunable parameters, and For Each subsystems.

문제 해결

Troubleshoot System Objects in Simulink

Use these guidelines to troubleshoot System objects in Simulink.

관련 정보

추천 예제