Main Content

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

데이터 기록

후속 데이터 처리를 위해 모델 시뮬레이션 중에 작업 공간에 데이터 기록

디버그 및 검증을 위해 시뮬레이션 데이터를 작업 공간 또는 디스크의 임시 파일에 기록할 수 있습니다. 데이터 기록을 통해 시뮬레이션 중에 시간에 따라 내부 블록 변수가 어떻게 변경되는지 분석할 수 있습니다. 예를 들어 유압 실린더의 압력이 최솟값을 초과하는지 확인하거나 해당 압력을 펌프 압력과 비교하고 싶을 수 있습니다. 시뮬레이션 데이터를 기록하면 시뮬레이션을 다시 실행하지 않고도 나중에 이를 쿼리, 플로팅 및 분석할 수 있습니다.

Simscape™ 결과 탐색기는 시뮬레이션 데이터 기록 결과를 탐색하고 플로팅할 수 있도록 해주는 대화형 툴입니다. 모델에 센서와 스코프를 추가하는 대신 데이터 기록과 Simscape 결과 탐색기를 사용하여 시뮬레이션 결과를 볼 수 있습니다.

Simscape 결과 탐색기Navigate and plot simulation data logging results

함수

simscape.logging.exportSave logged simulation data in MLDATX file
simscape.logging.importCreate simulation log variable to access data in MLDATX file
simscape.logging.plotPlot logged simulation data for Node or Series
simscape.logging.plotxyPlot logged simulation data for one node or series against another
simscape.logging.findNodeFind Node object corresponding to block or subsystem (R2020a 이후)
simscape.logging.sli.findNode(To be removed) Find Node object corresponding to block or subsystem
simscape.logging.findPathFind path to node in logged simulation data tree (R2020a 이후)
simscape.logging.sli.findPath(To be removed) Find path to node in logged simulation data tree
simscape.logging.timestampDetermine whether simulation log is current or stale (R2021a 이후)
sscexploreOpen Simscape Results Explorer to interact with logged simulation data
sscprintzcsPrint zero crossing information for logged simulation data

객체

simscape.logging.NodeHierarchy tree for simulation data
simscape.logging.SeriesTime-value series for simulation data

도움말 항목