Main Content

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

데이터 저장소

다양한 수준의 모델에 있는 여러 신호에 대한 전역 값 정의

대규모 모델에서는 개별 신호를 다이어그램 내의 서로 다른 위치에 있는 별도의 여러 블록으로 라우팅해야 할 수 있습니다. 컴퓨터 프로그램의 전역 변수와 유사하게 모델 내 모든 위치에서 신호 데이터에 액세스할 수 있도록 데이터 저장소를 구성할 수 있습니다. 하지만, 전역 변수처럼 데이터 저장소도 모델의 투명도를 저하시키고 모델 검증을 더 어렵게 만들 수 있습니다. 데이터 저장소를 사용할지 여부를 결정하려면 Data Store Basics 항목을 참조하십시오.

대규모 모델에 걸쳐 신호를 라우팅하려면 데이터 저장소 대신 Goto 블록과 From 블록을 사용해 보십시오.

블록

Data Store MemoryDefine data store
Data Store ReadRead data from data store
Data Store WriteWrite data to data store

클래스

Simulink.SimulationData.DataStoreMemoryContainer for data store logging information
Simulink.SimulationData.BlockPathFully specified block path
Simulink.SimulationData.DatasetAccess logged simulation data or group simulation input data

도움말 항목

  • Model Global Data by Creating Data Stores

    Explicitly model a separate piece of global memory by creating a data store.

  • Log Data Stores

    Configure a data store for logging so that you can view the data stored in a simulation run.

  • Data Store Basics

    A data store is a repository to which you can write data, and from which you can read data, without having to connect an input or output signal directly to the data store.

  • Specify Signal Ranges

    Specify the minimum and maximum value that a signal can attain during simulation. Fully specify your design and optimize data types and the generated code by specifying the minimum and maximum value that a signal can attain during simulation.