MATLAB 도움말 센터
기록된 데이터 세트 찾기
data = find(sim_obj,data_name)
data = find(sim_obj,data_name)은 sim_obj의 LoggedData 속성에서 특정 이름을 가진 요소를 검색합니다. sdo.SimulationTest 객체의 who 함수를 사용하여 가능한 이름을 찾습니다.
data
sim_obj
data_name
LoggedData
sdo.SimulationTest
who
예제
모두 축소
모델 신호를 기록합니다.
Pressures = Simulink.SimulationData.SignalLoggingInfo; Pressures.BlockPath = 'sdoHydraulicCylinder/Cylinder Assembly'; Pressures.OutputPortIndex = 1; simulator = sdo.SimulationTest('sdoHydraulicCylinder'); simulator.LoggingInfo.Signals = Pressures;
시뮬레이션을 실행합니다.
sim = sim(simulator);
기록된 데이터를 검색합니다.
sim_log = find(simulator,'sdoHydraulicCylinder');
모델에 대한 시뮬레이션 시나리오로, sdo.SimulationTest 객체로 지정됩니다.
검색할 데이터 세트 이름으로, 문자형 벡터 또는 string형 스칼라로 지정됩니다.
데이터형: char | string
char
string
data_name 입력값으로 지정된 데이터 세트 이름에 대한 기록된 시뮬레이션 데이터로, 셀형 배열로 반환됩니다.
R2011b에 개발됨
sdo.optimize | sim | setup | restore | who
sdo.optimize
sim
setup
restore
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의